Ensures spawned proc is never called if the client goes away

This commit is contained in:
MrStonedOne
2014-10-29 18:02:21 -07:00
parent 40d884dbfa
commit 6f0666138a
+2 -1
View File
@@ -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()