[NO GBP] fixes hand teleporter being unable to close portals (#96777)

## About The Pull Request

`item_interaction()` before `interact_with_atom()`, my bad. Wasn't able
to test this one because hand teleporters weren't working at all at the
time.

## Why It's Good For The Game

fixes #96775

## Changelog

🆑

fix: hand teleporters can now close portals

/🆑
This commit is contained in:
Leland Kemble
2026-07-03 21:54:05 +02:00
committed by GitHub
parent b30e585603
commit 3048bf1ce4
+2 -1
View File
@@ -70,8 +70,9 @@
return TRUE
/obj/effect/portal/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
if(!Adjacent(user))
if(!Adjacent(user) || istype(tool, /obj/item/hand_tele))
return ..()
teleport(user)
return ITEM_INTERACT_SUCCESS