Merge pull request #13896 from Kyep/sleeper_teleport_fix

Fixes issues with machines/mechs when a person is teleported out of them
This commit is contained in:
AffectedArc07
2020-08-11 14:29:41 +01:00
committed by GitHub
12 changed files with 69 additions and 5 deletions
+3
View File
@@ -917,6 +917,9 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
if(istype(landmark))
var/datum/map_template/ruin/template = landmark.ruin_template
if(isobj(usr.loc))
var/obj/O = usr.loc
O.force_eject_occupant()
admin_forcemove(usr, get_turf(landmark))
to_chat(usr, "<span class='name'>[template.name]</span>")