Skip to content

Commit

Permalink
Modify hotkeys to add 0 and SPC for pause
Browse files Browse the repository at this point in the history
  • Loading branch information
n-hebert committed May 9, 2024
1 parent f847624 commit d22f675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Compositor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { setSpeed } from "../reducers/Game";
import { store } from "../Store";

const keyMap = {
PAUSED: "`",
PAUSED: ["`", "space", "0"],
SLOW: "1",
NORMAL: "2",
FAST: "3",
Expand Down
2 changes: 1 addition & 1 deletion src/data/Scenarios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const SCENARIOS = [
target: "#speedChangeButtons",
content: (
<Typography variant="body1">
Start the game by unpausing it. (Hotkeys: ~/1/2/3)
Start the game by unpausing it. Hotkeys are in a row: `/1/2/3. Space and 0 also pause.
<br />
<br />
This tutorial will run for 1 year. Try building different types of
Expand Down

0 comments on commit d22f675

Please sign in to comment.