mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Removes spawn(rand(10,150)) from client database syncing
This was a shitty way to do this, and the overhead from spawn() makes it not worth it now that the database is local to the server.
This commit is contained in:
@@ -179,14 +179,8 @@ var/next_external_rsc = 0
|
||||
|
||||
else if (isnum(player_age) && player_age < config.notify_new_player_age)
|
||||
message_admins("New user: [key_name_admin(src)] just connected with an age of [player_age] day[(player_age==1?"":"s")]")
|
||||
|
||||
|
||||
if (!ticker || ticker.current_state == GAME_STATE_PREGAME)
|
||||
spawn (rand(10,150))
|
||||
if (src)
|
||||
sync_client_with_db()
|
||||
else
|
||||
sync_client_with_db()
|
||||
|
||||
sync_client_with_db()
|
||||
|
||||
send_resources()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user