Merge pull request #14080 from Kyep/refactor_exp_update

Playtime DB update call refactor
This commit is contained in:
AffectedArc07
2020-08-16 13:49:37 +01:00
committed by GitHub
2 changed files with 11 additions and 13 deletions

View File

@@ -27,7 +27,7 @@ SUBSYSTEM_DEF(jobs)
/datum/controller/subsystem/jobs/fire()
if(!config.sql_enabled || !config.use_exp_tracking)
return
update_exp(5,0)
INVOKE_ASYNC(GLOBAL_PROC, /.proc/update_exp, 5, 0)
/datum/controller/subsystem/jobs/proc/SetupOccupations(var/list/faction = list("Station"))
occupations = list()