Skip to content

Commit

Permalink
fix: preplay with speedrun controls
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed May 24, 2024
1 parent a8ec90d commit dea9c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/game/ui/turn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function end(clientAction: ClientAction): void {
...clientAction,
});
hideArrowsAndDisableDragging();
} else {
} else if (globals.lobby.settings.speedrunPreplay) {
globals.store!.dispatch({
type: "premove",
premove: clientAction,
Expand Down

0 comments on commit dea9c00

Please sign in to comment.