Fixes Pushing Custodial Carts Slowing You Down (#15409)

This commit is contained in:
SleepyGemmy
2023-01-06 17:44:24 +01:00
committed by GitHub
parent 678e5267bd
commit e4ef2c8c83
8 changed files with 29 additions and 19 deletions
+3 -2
View File
@@ -1311,8 +1311,9 @@
if (dest != loc && istype(dest, /atom/movable))
AM = dest
LAZYADD(AM.contained_mobs, src)
if(pulledby)
pulledby.stop_pulling()
if(ismob(pulledby))
var/mob/M = pulledby
M.stop_pulling()
if (istype(loc, /atom/movable))
AM = loc