mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-13 18:10:18 -07:00
No longer running ticks in a coroutine, should address apparent lag after server has been running a while
This commit is contained in:
parent
07065c7e79
commit
77320289b5
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class MajorUpdateWorker {
|
||||||
val start = System.currentTimeMillis()
|
val start = System.currentTimeMillis()
|
||||||
Server.heartbeat()
|
Server.heartbeat()
|
||||||
|
|
||||||
GlobalScope.launch { handleTickActions() }
|
handleTickActions()
|
||||||
|
|
||||||
//Handle daily restart if enabled
|
//Handle daily restart if enabled
|
||||||
if(sdf.format(Date()).toInt() == 0){
|
if(sdf.format(Date()).toInt() == 0){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue