summaryrefslogtreecommitdiff
path: root/client/src/net/multiplayer.ts
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-06-17 01:18:16 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-06-17 01:18:16 -0400
commit113c6d105a0b06603388e5e0ded90ed169ae0c50 (patch)
tree70af321cdce86a331141e437f6abae3c1cefd74a /client/src/net/multiplayer.ts
parentts (diff)
downloadtuxman-113c6d105a0b06603388e5e0ded90ed169ae0c50.tar.gz
tuxman-113c6d105a0b06603388e5e0ded90ed169ae0c50.tar.bz2
tuxman-113c6d105a0b06603388e5e0ded90ed169ae0c50.zip
map editor
Diffstat (limited to 'client/src/net/multiplayer.ts')
-rw-r--r--client/src/net/multiplayer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/net/multiplayer.ts b/client/src/net/multiplayer.ts
index e9f3057..5dcf86d 100644
--- a/client/src/net/multiplayer.ts
+++ b/client/src/net/multiplayer.ts
@@ -80,7 +80,7 @@ export function multiplayer(
function update(input: PlayerInput, frame: number) {
if(input === undefined) { // used to update the game locally
if(hasState) {
- applyInput({})
+ applyInput({frame})
}
return;
}