Merge pull request #10550 from deathride58/fixestopicstatusproper
fixes status topic having a broken cooldown
This commit is contained in:
@@ -139,9 +139,9 @@
|
||||
|
||||
/datum/world_topic/status/Run(list/input, addr)
|
||||
if(!key_valid) //If we have a key, then it's safe to trust that this isn't a malicious packet. Also prevents the extra info from leaking
|
||||
if(GLOB.topic_status_lastcache <= world.time + 5)
|
||||
if(GLOB.topic_status_lastcache >= world.time)
|
||||
return GLOB.topic_status_cache
|
||||
GLOB.topic_status_lastcache = world.time
|
||||
GLOB.topic_status_lastcache = world.time + 5
|
||||
. = list()
|
||||
.["version"] = GLOB.game_version
|
||||
.["mode"] = "hidden" //CIT CHANGE - hides the gamemode in topic() calls to prevent meta'ing the gamemode
|
||||
|
||||
Reference in New Issue
Block a user