mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Fix some inverted teleport validation checks (#88967)
## About The Pull Request A bunch of places in code were recently updated to use a helper proc for validating teleportation. Unfortunately a lot of them also got the return value inverted, and would only let you teleport to illegal locations. Most notably this effected the hand teleporter, but also several other items. Fixes #88966 what is a "dull universal force" supposed to be anyway
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
|
||||
/obj/item/mod/module/timeline_jumper/used()
|
||||
var/area/noteleport_check = get_area(mod.wearer)
|
||||
if(noteleport_check && check_teleport_valid(mod.wearer, get_turf(mod.wearer)))
|
||||
if(noteleport_check && !check_teleport_valid(mod.wearer, get_turf(mod.wearer)))
|
||||
to_chat(mod.wearer, span_danger("Some dull, universal force is between you and the [phased_mob ? "current timeline" : "stream between timelines"]."))
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user