Skip to content

Commit 9f9fafb

Browse files
committed
Update APGameState.hx
1 parent 8b135a6 commit 9f9fafb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/archipelago/APGameState.hx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,12 @@ class APGameState
879879
return;
880880
}
881881

882+
if (info().slot == trapLink.source)
883+
{
884+
trace("Trap link received from self, ignoring.");
885+
return;
886+
}
887+
882888
var trapName = trapLink.trap_name;
883889
try
884890
{

0 commit comments

Comments
 (0)