summaryrefslogtreecommitdiff
path: root/client/src/net/game.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client/src/net/game.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/net/game.ts b/client/src/net/game.ts
index 88a36b1..93a5e6b 100644
--- a/client/src/net/game.ts
+++ b/client/src/net/game.ts
@@ -114,7 +114,7 @@ export class Game {
onLoad: (startFrame: Frame) => boolean,
onFrame: (data: Frame, frame: number) => void,
onLogic: (pastData: GameState, input: Input, frame: number) => GameState,
- data: PlayerInput = { start: false, key: Key.NOTHING }
+ data: PlayerInput = { start: false, key: Key.NOTHING, maps: {}}
): void {
const fps = 60;