mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Fix putting someone into a machinery with active grab (#24246)
This commit is contained in:
committed by
GitHub
parent
f605c48e44
commit
cc0014e401
@@ -156,6 +156,7 @@
|
||||
add_attack_logs(user, L, "put into a cryo cell at [COORD(src)].", ATKLOG_ALL)
|
||||
if(user.pulling == L)
|
||||
user.stop_pulling()
|
||||
QDEL_LIST_CONTENTS(L.grabbed_by)
|
||||
SStgui.update_uis(src)
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -157,6 +157,7 @@
|
||||
user.visible_message("<span class='danger'>[user] stuffs [victim] into [src]!</span>")
|
||||
else
|
||||
return
|
||||
QDEL_LIST_CONTENTS(victim.grabbed_by)
|
||||
victim.forceMove(src)
|
||||
occupant = victim
|
||||
|
||||
|
||||
@@ -221,6 +221,7 @@
|
||||
add_attack_logs(user, target, "Disposal'ed", !!target.ckey ? null : ATKLOG_ALL)
|
||||
else
|
||||
return
|
||||
QDEL_LIST_CONTENTS(target.grabbed_by)
|
||||
target.forceMove(src)
|
||||
|
||||
for(var/mob/C in viewers(src))
|
||||
|
||||
Reference in New Issue
Block a user