mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +00:00
Merge pull request #7477 from VOREStation/aro-vcdbsafe
World.time can't possibly be null, and yet...
This commit is contained in:
@@ -103,7 +103,7 @@ GLOBAL_DATUM(vchatdb, /database)
|
|||||||
var/list/messagedef = list(
|
var/list/messagedef = list(
|
||||||
"INSERT INTO messages (ckey,worldtime,message) VALUES (?, ?, ?)",
|
"INSERT INTO messages (ckey,worldtime,message) VALUES (?, ?, ?)",
|
||||||
ckey,
|
ckey,
|
||||||
world.time,
|
world.time || 0,
|
||||||
message)
|
message)
|
||||||
|
|
||||||
return vchat_exec_update(messagedef)
|
return vchat_exec_update(messagedef)
|
||||||
|
|||||||
Reference in New Issue
Block a user