mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Ensures spawned proc is never called if the client goes away
This commit is contained in:
@@ -137,7 +137,8 @@ var/next_external_rsc = 0
|
||||
|
||||
if (!ticker || ticker.current_state == GAME_STATE_PREGAME)
|
||||
spawn (rand(10,150))
|
||||
sync_client_with_db()
|
||||
if (src)
|
||||
sync_client_with_db()
|
||||
else
|
||||
sync_client_with_db()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user