diff --git a/code/modules/research/nanites/nanite_programs.dm b/code/modules/research/nanites/nanite_programs.dm index 7ed6d02e8e..19854f1208 100644 --- a/code/modules/research/nanites/nanite_programs.dm +++ b/code/modules/research/nanites/nanite_programs.dm @@ -205,7 +205,7 @@ if(passive_enabled) disable_passive_effect() -//If false, disables active and passive effects, but doesn't consume nanites +//If false, disables active, passive effects, and triggers without consuming nanites //Can be used to avoid consuming nanites for nothing /datum/nanite_program/proc/check_conditions() if (!LAZYLEN(rules)) @@ -241,6 +241,8 @@ return if(world.time < next_trigger) return + if(!check_conditions()) + return if(!consume_nanites(trigger_cost)) return next_trigger = world.time + trigger_cooldown