Refactors playtime tracking code. (#58186)

This commit is contained in:
Timberpoes
2021-05-08 07:36:22 +01:00
committed by GitHub
parent ff4ad14fc8
commit ff47abe825
8 changed files with 82 additions and 46 deletions

View File

@@ -33,7 +33,7 @@ SUBSYSTEM_DEF(blackbox)
if(CONFIG_GET(flag/use_exp_tracking))
if((triggertime < 0) || (world.time > (triggertime +3000))) //subsystem fires once at roundstart then once every 10 minutes. a 5 min check skips the first fire. The <0 is midnight rollover check
update_exp(10,FALSE)
update_exp(10)
/datum/controller/subsystem/blackbox/proc/CheckPlayerCount()
set waitfor = FALSE