Skip to content

Commit b9c5468

Browse files
no more effects teleporting (ParadiseSS13#29368)
1 parent f978346 commit b9c5468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/game/machinery/teleporter.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
to_chat(entered, "<span class='notice'>You can't use this here.</span>")
525525
return
526526

527-
if(target && !recalibrating && !panel_open && !blockAI(entered) && (teleports_this_cycle <= MAX_ALLOWED_TELEPORTS_PER_PROCESS))
527+
if(target && !recalibrating && !panel_open && !blockAI(entered) && (teleports_this_cycle <= MAX_ALLOWED_TELEPORTS_PER_PROCESS) && !iseffect(entered))
528528
do_teleport(entered, target)
529529
use_power(5000)
530530
teleports_this_cycle++

0 commit comments

Comments
 (0)