Clear transit changes

This commit is contained in:
kevinz000
2018-06-11 19:13:38 -07:00
parent c437b094ee
commit 7996baca4c
4 changed files with 73 additions and 37 deletions
+1 -2
View File
@@ -968,11 +968,10 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
var/answer = alert("WARNING: THIS WILL WIPE ALL RESERVED SPACE TO A CLEAN SLATE! ANY MOVING SHUTTLES, ELEVATORS, OR IN-PROGRESS PHOTOGRAPHY WILL BE DELETED!", "Really wipe dynamic turfs?", "YES", "NO")
if(answer != "YES")
return
SSmapping.clearing_reserved_areas = TRUE
message_admins("<span class='adminnotice'>[key_name_admin(src)] cleared dynamic transit space.</span>")
SSblackbox.record_feedback("tally", "admin_verb", 1, "Clear Dynamic Transit") // If...
log_admin("[key_name(src)] cleared dynamic transit space.")
SSmapping.wipe_reservations() //this goes after it's logged, incase something horrible happens.
/client/proc/toggle_medal_disable()
set category = "Debug"