Merge pull request #24292 from KorPhaeron/pushing

Mobs pushing eachother wont change their direction
This commit is contained in:
Joan Lung
2017-02-20 17:46:32 -05:00
committed by GitHub

View File

@@ -188,7 +188,12 @@
return return
if(pulling == AM) if(pulling == AM)
stop_pulling() stop_pulling()
var/current_dir
if(isliving(AM))
current_dir = AM.dir
step(AM, t) step(AM, t)
if(current_dir)
AM.setDir(current_dir)
now_pushing = 0 now_pushing = 0
//mob verbs are a lot faster than object verbs //mob verbs are a lot faster than object verbs