We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f978346 commit b9c5468Copy full SHA for b9c5468
code/game/machinery/teleporter.dm
@@ -524,7 +524,7 @@
524
to_chat(entered, "<span class='notice'>You can't use this here.</span>")
525
return
526
527
- if(target && !recalibrating && !panel_open && !blockAI(entered) && (teleports_this_cycle <= MAX_ALLOWED_TELEPORTS_PER_PROCESS))
+ if(target && !recalibrating && !panel_open && !blockAI(entered) && (teleports_this_cycle <= MAX_ALLOWED_TELEPORTS_PER_PROCESS) && !iseffect(entered))
528
do_teleport(entered, target)
529
use_power(5000)
530
teleports_this_cycle++
0 commit comments