Skip to content

Commit

Permalink
Patches the new cleanbot bug (tgstation#26962)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss authored and lzimann committed May 5, 2017
1 parent 01d98d3 commit ebb50e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/controllers/globals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ GLOBAL_REAL(GLOB, /datum/controller/global_vars)
/datum/controller/global_vars/Initialize()
gvars_datum_init_order = list()
gvars_datum_protected_varlist = list("gvars_datum_protected_varlist")

//See https://github.com/tgstation/tgstation/issues/26954
for(var/I in typesof(/datum/controller/global_vars/proc))
var/CLEANBOT_RETURNS = "[I]"
pass(CLEANBOT_RETURNS)

for(var/I in vars - gvars_datum_in_built_vars)
var/start_tick = world.time
call(src, "InitGlobal[I]")()
Expand Down

0 comments on commit ebb50e7

Please sign in to comment.