mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -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()
|
||||
Server.heartbeat()
|
||||
|
||||
GlobalScope.launch { handleTickActions() }
|
||||
handleTickActions()
|
||||
|
||||
//Handle daily restart if enabled
|
||||
if(sdf.format(Date()).toInt() == 0){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue