mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user