Merge pull request #770 from tgstation/Cyberboss-patch-1

Make TGS_TOPIC use args[1] instead of T
This commit is contained in:
Jordan Brown
2018-10-08 00:26:58 -04:00
committed by GitHub
+2 -2
View File
@@ -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()