Merge pull request #33706 from AnturK/dumbmechacode
Fixes some mecha code.
This commit is contained in:
committed by
CitadelStationBot
parent
408cf32ddc
commit
14942fb582
@@ -571,9 +571,9 @@
|
||||
if(bumpsmash && occupant) //Need a pilot to push the PUNCH button.
|
||||
if(nextsmash < world.time)
|
||||
obstacle.mech_melee_attack(src)
|
||||
if(!obstacle || !obstacle.density)
|
||||
step(src,dir)
|
||||
nextsmash = world.time + smashcooldown
|
||||
if(!obstacle || obstacle.CanPass(src,get_step(src,dir)))
|
||||
step(src,dir)
|
||||
if(isobj(obstacle))
|
||||
var/obj/O = obstacle
|
||||
if(!O.anchored)
|
||||
|
||||
Reference in New Issue
Block a user