for(var/area/A in world)
if(!A) continue
del(A)
Problem description:
How would I go about deleting areas?
I usally get this error BUG: Bad ref (4:31) after a while
ID:265042
Jan 12 2012, 8:18 pm
|
|
Code:
for(var/area/A in world) Problem description: How would I go about deleting areas? I usally get this error BUG: Bad ref (4:31) after a while |
In response to Forum_account
|
|
Yes i figured i try that and seems to have fixed my problem, Thanks anywho. =]
|
I'm not sure how areas are handled or what it even means to delete one. What are you trying to accomplish?
You can add turfs to another area's contents list to remove them from the area they're in. You could find all turfs that aren't in the base /area area and move them to it.