Removes crit_fail from being an object level variable (#17300)

This commit is contained in:
Qwertytoforty
2022-01-04 22:39:51 +01:00
committed by GitHub
parent 09f88e799b
commit 371003d0d3
6 changed files with 2 additions and 33 deletions
+1 -1
View File
@@ -171,7 +171,7 @@
owner.adjust_fire_stacks(20)
owner.IgniteMob()
owner.adjustFireLoss(25)
crit_fail = 1
crit_fail = TRUE
else // The gun will still discharge anyway.
..()
@@ -4,6 +4,7 @@
status = ORGAN_ROBOT
var/implant_color = "#FFFFFF"
var/implant_overlay
var/crit_fail = FALSE //Used by certain implants to disable them.
tough = TRUE // Immune to damage
/obj/item/organ/internal/cyberimp/New(mob/M = null)