Fixes ticker roundstart being slow (#15129)

This commit is contained in:
AffectedArc07
2020-12-17 13:31:49 -05:00
committed by GitHub
parent 04e6806a4b
commit a4283d707a
6 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -572,7 +572,7 @@
// Log player connections to DB
var/datum/db_query/query_accesslog = SSdbcore.NewQuery("INSERT INTO `[format_table_name("connection_log")]`(`datetime`,`ckey`,`ip`,`computerid`) VALUES(Now(), :ckey, :ip, :cid)", list(
"ckey" = ckey,
"ip" = address,
"ip" = "[address ? address : ""]", // This is important. NULL is not the same as "", and if you directly open the `.dmb` file, you get a NULL IP.
"cid" = computer_id
))
// We do nothing with output here, or anything else after, so we dont need to if() wrap it