mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Merge pull request #24292 from KorPhaeron/pushing
Mobs pushing eachother wont change their direction
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user