mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
Merge pull request #9321 from Hugo14453/dev-freeze
Logs population every 10 minutes instead of irregularly.
This commit is contained in:
@@ -98,7 +98,7 @@ proc/statistic_cycle()
|
||||
return
|
||||
while(1)
|
||||
sql_poll_population()
|
||||
sleep(600)
|
||||
sleep(6000)
|
||||
|
||||
//This proc is used for feedback. It is executed at round end.
|
||||
proc/sql_commit_feedback()
|
||||
|
||||
@@ -163,7 +163,6 @@ var/global/datum/controller/gameticker/ticker
|
||||
for(var/obj/multiz/ladder/L in world) L.connect() //Lazy hackfix for ladders. TODO: move this to an actual controller. ~ Z
|
||||
|
||||
if(config.sql_enabled)
|
||||
spawn(3000)
|
||||
statistic_cycle() // Polls population totals regularly and stores them in an SQL DB -- TLE
|
||||
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user