mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Configuration Controller (#7857)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/proc/sql_poll_population()
|
||||
if(!sqllogging)
|
||||
if(!CONFIG_GET(flag/enable_stat_tracking)) // CHOMPEdit
|
||||
return
|
||||
var/admincount = GLOB.admins.len
|
||||
var/playercount = 0
|
||||
@@ -19,15 +19,15 @@
|
||||
|
||||
/proc/sql_report_round_start()
|
||||
// TODO
|
||||
if(!sqllogging)
|
||||
if(!CONFIG_GET(flag/enable_stat_tracking)) // CHOMPEdit
|
||||
return
|
||||
/proc/sql_report_round_end()
|
||||
// TODO
|
||||
if(!sqllogging)
|
||||
if(!CONFIG_GET(flag/enable_stat_tracking)) // CHOMPEdit
|
||||
return
|
||||
|
||||
/proc/sql_report_death(var/mob/living/carbon/human/H)
|
||||
if(!sqllogging)
|
||||
if(!CONFIG_GET(flag/enable_stat_tracking)) // CHOMPEdit
|
||||
return
|
||||
if(!H)
|
||||
return
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
|
||||
/proc/sql_report_cyborg_death(var/mob/living/silicon/robot/H)
|
||||
if(!sqllogging)
|
||||
if(!CONFIG_GET(flag/enable_stat_tracking)) // CHOMPEdit
|
||||
return
|
||||
if(!H)
|
||||
return
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
/proc/statistic_cycle()
|
||||
set waitfor = 0
|
||||
if(!sqllogging)
|
||||
if(!CONFIG_GET(flag/enable_stat_tracking)) // CHOMPEdit
|
||||
return
|
||||
while(1)
|
||||
sql_poll_population()
|
||||
|
||||
Reference in New Issue
Block a user