mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user