From 086b951c4491e495103e206211b950f7500ead70 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sun, 7 Oct 2018 17:21:53 -0400 Subject: [PATCH] Make TGS_TOPIC use args[1] instead of T --- src/DMAPI/tgs.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DMAPI/tgs.dm b/src/DMAPI/tgs.dm index b6c8a654b7..b180057e3f 100644 --- a/src/DMAPI/tgs.dm +++ b/src/DMAPI/tgs.dm @@ -92,8 +92,8 @@ /world/proc/TgsInitializationComplete() return -//Put this somewhere in /world/Topic(T, Addr, Master, Keys) that is always run before T is modified -#define TGS_TOPIC var/tgs_topic_return = TgsTopic(T); if(tgs_topic_return) return tgs_topic_return +//Put this at the start of /world/Topic() +#define TGS_TOPIC var/tgs_topic_return = TgsTopic(args[1]); if(tgs_topic_return) return tgs_topic_return //Call this at the beginning of world/Reboot(reason) /world/proc/TgsReboot()