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:
Kyle Spier-Swenson
2015-11-28 00:08:28 -08:00
parent 01edb6db7c
commit 89cf8fd112
+2 -8
View File
@@ -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()