Merge pull request #4481 from Citadel-Station-13/upstream-merge-33706
[MIRROR] Fixes some mecha code.
This commit is contained in:
@@ -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