mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Merge pull request #9804 from Birdtalon/tpbug
Fixes mulebot teleportation bug
This commit is contained in:
@@ -401,9 +401,16 @@
|
||||
M.layer = layer + 0.1
|
||||
|
||||
else //post unbuckling
|
||||
load = null
|
||||
M.layer = initial(M.layer)
|
||||
M.pixel_y = initial(M.pixel_y)
|
||||
reset_buckled_mob(M)
|
||||
|
||||
/mob/living/simple_animal/bot/mulebot/post_unbuckle_mob(mob/living/M)
|
||||
. = ..()
|
||||
reset_buckled_mob(M)
|
||||
|
||||
/mob/living/simple_animal/bot/mulebot/proc/reset_buckled_mob(mob/living/M)
|
||||
load = null
|
||||
M.layer = initial(M.layer)
|
||||
M.pixel_y = initial(M.pixel_y)
|
||||
|
||||
// called to unload the bot
|
||||
// argument is optional direction to unload
|
||||
|
||||
Reference in New Issue
Block a user