Fix: Space turf depressure, admin del

This commit fixes some special cases where a certain series of events
could lead to a space turf being created which was not activated in LINDA,
therefore it would not drain atmos correctly.

Things changed:
 - ChangeTurf properly updates new space tiles
 - Admin delete calls changeturf instead of del'ing turfs to satisfy LINDA
 - Admin delete now uses qdel instead of del, because everything is being
   switched to qdel.
This commit is contained in:
Tigercat2000
2015-05-12 18:15:55 -07:00
parent 6bdb1af83d
commit b192bfd34c
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -687,7 +687,11 @@ Traitors and the like can also be revived with the previous role mostly intact.
log_admin("[key_name(usr)] deleted [O] at ([O.x],[O.y],[O.z])")
message_admins("[key_name_admin(usr)] deleted [O] at ([O.x],[O.y],[O.z])", 1)
feedback_add_details("admin_verb","DEL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
del(O)
if(istype(O, /turf))
var/turf/T = O
T.ChangeTurf(/turf/space)
return
qdel(O)
/client/proc/cmd_admin_list_open_jobs()
set category = "Admin"