diff --git a/modular_splurt/code/controllers/subsystem/afk.dm b/modular_splurt/code/controllers/subsystem/afk.dm index 2cf8b0025c..f1bbbb45d0 100644 --- a/modular_splurt/code/controllers/subsystem/afk.dm +++ b/modular_splurt/code/controllers/subsystem/afk.dm @@ -1,7 +1,5 @@ -#define AFK_MINUTES_WARN 30 MINUTES // NOT IMPLEMENTED #define AFK_MINUTES_CRYO 40 MINUTES #define AFK_MINUTES_TEXT AFK_MINUTES_WARN/600 -#define AFK_CRYO_ENABLED TRUE SUBSYSTEM_DEF(afk) name = "AFK Watcher" @@ -10,9 +8,7 @@ SUBSYSTEM_DEF(afk) flags = SS_BACKGROUND /datum/controller/subsystem/afk/Initialize() - // Check if this should run - if(!AFK_CRYO_ENABLED) - flags |= SS_NO_FIRE + // Currently, this always runs by default return ..() /datum/controller/subsystem/afk/fire() @@ -25,23 +21,12 @@ SUBSYSTEM_DEF(afk) // Check if client meets the time requirement if(!(afk_time > AFK_MINUTES_CRYO)) continue - - // Define ckey - var/client/cryo_client = cryo_mob.ckey - // Log this occurrence - log_admin("[key_name(cryo_client)] has been sent to cryo by the AFK Watcher subsystem after being AFK for [AFK_MINUTES_TEXT] minutes.") - - // Alert user - to_chat(cryo_client, "You have been sent to cryo for exceeding the [AFK_MINUTES_TEXT] minute AFK time limit.") - // Send to cryo cryoMob(cryo_mob, effects = TRUE) // Remove from SSD list GLOB.ssd_mob_list -= cryo_mob -#undef AFK_MINUTES_WARN #undef AFK_MINUTES_CRYO #undef AFK_MINUTES_TEXT -#undef AFK_CRYO_ENABLED