Skip to content

Commit

Permalink
Fix edge deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
clayote committed Aug 24, 2024
1 parent 489ac20 commit 2cdc493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiSE/LiSE/allegedb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,7 @@ def _exist_edge(
) -> None:
nbtt, exist_edge, store = self._exist_edge_stuff
branch, turn, tick = nbtt()
exist_edge(character, orig, dest, idx, branch, turn, tick, exist)
exist_edge(character, orig, dest, idx, branch, turn, tick, exist or False)
store(character, orig, dest, idx, branch, turn, tick, exist)
if (character, orig, dest) in self._edge_objs:
del self._edge_objs[character, orig, dest]

0 comments on commit 2cdc493

Please sign in to comment.