diff --git a/code/datums/world_topic.dm b/code/datums/world_topic.dm index 20520052be..612c86bc11 100644 --- a/code/datums/world_topic.dm +++ b/code/datums/world_topic.dm @@ -138,9 +138,10 @@ keyword = "status" /datum/world_topic/status/Run(list/input) - if(GLOB.topic_status_lastcache <= world.time + 5) - return GLOB.topic_status_cache - GLOB.topic_status_lastcache = world.time + 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) + return GLOB.topic_status_cache + GLOB.topic_status_lastcache = world.time . = list() .["version"] = GLOB.game_version .["mode"] = "hidden" //CIT CHANGE - hides the gamemode in topic() calls to prevent meta'ing the gamemode @@ -184,4 +185,5 @@ .["shuttle_timer"] = SSshuttle.emergency.timeLeft() // Shuttle timer, in seconds - GLOB.topic_status_cache = . + if(!key_valid) + GLOB.topic_status_cache = .