mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
Fix a mulebot runtime (#2859)
Fixes a runtime that could happen when a MULE was shot.
This commit is contained in:
@@ -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()
|
||||
..()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user