Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 2c040e6

Browse files
authored
not available if dead (#22562)
1 parent 31df8df commit 2c040e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

code/game/objects/items/robot/ai_upgrades.dm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@
160160
return FALSE
161161
if(!burstmode_activated && !COOLDOWN_FINISHED(src, next_activate)) // Burstmode is not ready.
162162
return FALSE
163+
if(owner.stat == DEAD)
164+
return FALSE
163165

164166
/datum/action/innate/ai/ranged/cameragun/do_ability(mob/living/caller, params, atom/target)
165167
var/turf/loc_target = get_turf(target)

0 commit comments

Comments
 (0)