From 92a0f94b60d296896d3a91bbc17b74897717e8ef Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Mon, 27 Apr 2020 01:21:35 -0400 Subject: [PATCH] World.time can't possibly be null, and yet... --- code/modules/vchat/vchat_db.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/vchat/vchat_db.dm b/code/modules/vchat/vchat_db.dm index 0dc7e7982de..3fc0833aca0 100644 --- a/code/modules/vchat/vchat_db.dm +++ b/code/modules/vchat/vchat_db.dm @@ -103,7 +103,7 @@ GLOBAL_DATUM(vchatdb, /database) var/list/messagedef = list( "INSERT INTO messages (ckey,worldtime,message) VALUES (?, ?, ?)", ckey, - world.time, + world.time || 0, message) return vchat_exec_update(messagedef)