Fixes batons mkII (#4422)

Fixes a logic error in new batons, this time with 87% less dev commits. I'd put high priority but it only affects IPCs and fuck 'em.
This commit is contained in:
LordFowl
2018-03-17 17:15:01 +01:00
committed by Werner
parent a1eeafc3c8
commit 2b06ab2c88
+2 -1
View File
@@ -156,7 +156,8 @@
return 1
else
H.visible_message("<span class='danger'>[L] has been prodded in the [affecting.name] with [src] by [user]!</span>")
H.electrocute_act(force * 2, src, ground_zero = target_zone)
if(!sheathed)
H.electrocute_act(force * 2, src, ground_zero = target_zone)
else
if(!status)
L.visible_message("<span class='warning'>[L] has been prodded with [src] by [user]. Luckily it was off.</span>")