Skip to content

Commit

Permalink
game/sp/t3: fix Forcable/Result text
Browse files Browse the repository at this point in the history
  • Loading branch information
theonlypwner committed Apr 15, 2024
1 parent 954350d commit baee9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/game/sp/t3/MoveTableRow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function winInfo (i: number, memo: MemoEntry, winnerMap: WinnerMap, result: Winn
const countPaths = remapPathCount(countPathsRaw, winnerMap)
const countPath = countPaths[result]
const otherPossible = !((result !== 1 && countPaths[1]) || (result !== 2 && countPaths[2]) || (result !== 3 && countPaths[3]))
const otherPossible = (result !== 1 && countPaths[1]) || (result !== 2 && countPaths[2]) || (result !== 3 && countPaths[3])
const entry = memoEntry[winnerMapToNum(winnerMap.map((w) => ((i ^ (w === result ? 0 : 1)) & 1) + 1) as WinnerMap)]
const val = entry[0]
Expand Down

0 comments on commit baee9df

Please sign in to comment.