From e3a33ad8c11e3250e46a7a0e594f349625432be1 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 13 Jan 2020 00:56:05 -0500 Subject: [PATCH] fixes status topic having a broken cooldown --- code/datums/world_topic.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/world_topic.dm b/code/datums/world_topic.dm index 9e2efd1d4e..49fdd64a72 100644 --- a/code/datums/world_topic.dm +++ b/code/datums/world_topic.dm @@ -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