Delays ping tracking upon client connection.

This commit is contained in:
MrStonedOne
2017-01-09 09:02:57 -08:00
parent 00484a7f0c
commit c8b0a25e18
3 changed files with 13 additions and 2 deletions
+3
View File
@@ -57,3 +57,6 @@
var/lastping = 0
var/avgping = 0
var/connection_time //world.time they connected
var/connection_realtime //world.realtime they connected
var/connection_timeofday //world.timeofday they connected
+4
View File
@@ -155,6 +155,10 @@ var/next_external_rsc = 0
. = ..() //calls mob.Login()
connection_time = world.time
connection_realtime = world.realtime
connection_timeofday = world.timeofday
if (byond_version < config.client_error_version) //Out of date client.
src << "<span class='danger'><b>Your version of byond is too old:</b></span>"
src << config.client_error_message