version 1.1, 2004/11/17 18:39:20
|
version 1.2, 2005/06/08 19:23:37
|
Line 850 function delres (obj1,recon) {
|
Line 850 function delres (obj1,recon) {
|
for (k=0;k<inwithlink.length;k++) { dellink(inwithlink[k]); } |
for (k=0;k<inwithlink.length;k++) { dellink(inwithlink[k]); } |
for (k=0;k<outwithlink.length;k++) { dellink(outwithlink[k]); } |
for (k=0;k<outwithlink.length;k++) { dellink(outwithlink[k]); } |
delobj(obj1); |
delobj(obj1); |
objcont[obj1]=''; |
// turn into a zombie |
|
data2=objcont[obj1].split(':'); |
|
data2[3]='zombie'; |
|
data2[4]='zombie'; |
|
objcont[obj1]=data2.join(':'); |
|
// reconnect |
if (recon==1) { |
if (recon==1) { |
message("Reconnecting"); |
message("Reconnecting"); |
for (k=0;k<inwithlink.length;k++) { |
for (k=0;k<inwithlink.length;k++) { |