mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
Fixes getting TK abilities when you shouldn't (#16300)
* fix * oops Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * review * oops Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
@@ -113,6 +113,6 @@
|
||||
return STATUS_CLOSE // Otherwise, we got nothing.
|
||||
|
||||
/mob/living/carbon/human/shared_living_ui_distance(atom/movable/src_object)
|
||||
if(dna.GetSEState(GLOB.teleblock) && (get_dist(src, src_object) <= 2))
|
||||
if(HAS_TRAIT(src, TRAIT_TELEKINESIS) && (get_dist(src, src_object) <= 2))
|
||||
return STATUS_INTERACTIVE
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user