From 2cdc3a9d301ca07dc35f3d0cec9f851f1478650c Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Mon, 15 Nov 2021 21:02:52 -0800 Subject: [PATCH] makes regal rat require not being dead to use abilities --- code/modules/mob/living/simple_animal/hostile/regalrat.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/regalrat.dm b/code/modules/mob/living/simple_animal/hostile/regalrat.dm index 950da865f6..6995202e9c 100644 --- a/code/modules/mob/living/simple_animal/hostile/regalrat.dm +++ b/code/modules/mob/living/simple_animal/hostile/regalrat.dm @@ -90,7 +90,7 @@ /datum/action/cooldown/coffer/Trigger() . = ..() - if(!.) + if(!. || owner.stat != CONSCIOUS) return var/turf/T = get_turf(owner) var/loot = rand(1,100) @@ -135,7 +135,7 @@ /datum/action/cooldown/riot/Trigger() . = ..() - if(!.) + if(!. || owner.stat != CONSCIOUS) return var/cap = CONFIG_GET(number/ratcap) var/something_from_nothing = FALSE