mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Fixes some cases with mobs attached a mob. Can't enter a mech if attachment is done mid-climb. Can't get inside mech sleeper or closet if you have a mob attached to you. All sorts of teleports now properly teleport the attached mob as well.
Changed the warning message when climbing mech with a mob attached to be more general instead of specifically about slimes. Getting inside a closet or machine now immediately breaks your pull and the pull of your puller. Using ethereal jaunt now also immediately break your pull. Fixes being able to get inside a mech sleeper while buckled by buckling mid-insertion.
This commit is contained in:
@@ -149,6 +149,10 @@
|
||||
message_admins("[key_name_admin(usr)] teleported [key_name_admin(M)] to [A]")
|
||||
|
||||
/proc/admin_forcemove(mob/mover, atom/newloc)
|
||||
if(mover.buckled)
|
||||
mover.buckled.unbuckle_mob()
|
||||
if(mover.buckled_mob)
|
||||
mover.unbuckle_mob(force=1)
|
||||
mover.loc = newloc
|
||||
mover.on_forcemove(newloc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user