From c54d44517ee63a75b78e64fabd1d1cfdf191f1ad Mon Sep 17 00:00:00 2001 From: SkyMarshal Date: Sun, 13 May 2012 21:14:18 -0700 Subject: [PATCH] Some feedback shit for deleted airgroups, as well as a possible fix for NT and his admins command. --- code/FEA/FEA_airgroup.dm | 6 ++++++ code/game/topic.dm | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/code/FEA/FEA_airgroup.dm b/code/FEA/FEA_airgroup.dm index c92c3838d14..f8a6a8a5857 100644 --- a/code/FEA/FEA_airgroup.dm +++ b/code/FEA/FEA_airgroup.dm @@ -19,6 +19,12 @@ datum var/list/space_borders var/length_space_border = 0 + Del() + spawn(5) + message_admins("WARNING! Airgroup deleted! Stacktrace is in a runtime, give it to Sky.") + CRASH("Fuck. Something deleted an airgroup. Here's your stack trace.") + ..() + proc/suspend_group_processing() //Purpose: Suspends processing of the group, breaks it into individual tiles. //Called by: Any check where the airgroup is determined to break. diff --git a/code/game/topic.dm b/code/game/topic.dm index c1827cdffd3..ba0a70af30f 100644 --- a/code/game/topic.dm +++ b/code/game/topic.dm @@ -11,8 +11,6 @@ s["ai"] = config.allow_ai s["host"] = host ? host : null s["players"] = list() - s["admins"] = 0 - var/admins = 0 var/n = 0 for(var/client/C) @@ -30,6 +28,5 @@ s["end"] = "#end" // 7 + s["players"] + 1 = index of s["revinfo"] - s["admins"] = admins return list2params(s)