aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-03-01 22:11:55 +0100
committermetamuffin <metamuffin@disroot.org>2026-03-01 22:11:55 +0100
commit998267627f1b31ca4534eb6b450a1d09379d58ff (patch)
tree22687d71047d32c9a4bb7d66b92d64a99e583b53
parentcec40ee1ec236829e774e3f7f82a17d5d5bffcb0 (diff)
downloadhurrycurry-998267627f1b31ca4534eb6b450a1d09379d58ff.tar
hurrycurry-998267627f1b31ca4534eb6b450a1d09379d58ff.tar.bz2
hurrycurry-998267627f1b31ca4534eb6b450a1d09379d58ff.tar.zst
fix compile with cheats
-rw-r--r--server/src/commands.rs2
-rw-r--r--test-client/protocol.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs
index d2a7da2c..ea0599dc 100644
--- a/server/src/commands.rs
+++ b/server/src/commands.rs
@@ -443,7 +443,7 @@ impl Server {
.movement
.position
.as_ivec2();
- self.game.set_tile(pos, Some(tile));
+ self.game.add_tile_part(pos, tile);
}
}
Ok(())
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index afec2b41..3db08fc2 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -83,7 +83,7 @@ export type PacketC =
| { type: "tutorial_ended", item: ItemIndex, player: PlayerID, success: boolean }
| { type: "set_ingame", state: boolean, lobby: boolean } // Set to false when entering the game or switching maps
| { type: "pause", state: boolean } // Set game paused so clients dont increment timers
- | { type: "debug" } & DebugEvent // Set game paused so clients dont increment timers
+ | { type: "debug" } & DebugEvent
| { type: "disconnect", reason: Message }
export interface Character {