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:
Jacquerel
2025-01-09 13:50:02 -06:00
committed by GitHub
parent cefde77beb
commit 9c8954cda5
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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 ..()