Fix a mulebot runtime (#2859)

Fixes a runtime that could happen when a MULE was shot.
This commit is contained in:
Lohikar
2017-06-28 15:13:05 -05:00
committed by skull132
parent 51c967d554
commit bc9fc4d9cc
+1 -5
View File
@@ -153,11 +153,7 @@
unload(0)
if(prob(25))
src.visible_message("<span class='warning'>Something shorts out inside [src]!</span>")
var/index = 1<< (rand(0,9))
if(wires & index)
wires &= ~index
else
wires |= index
wires.RandomCut()
..()