aboutsummaryrefslogtreecommitdiff
path: root/server/src
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 /server/src
parentcec40ee1ec236829e774e3f7f82a17d5d5bffcb0 (diff)
downloadhurrycurry-998267627f1b31ca4534eb6b450a1d09379d58ff.tar
hurrycurry-998267627f1b31ca4534eb6b450a1d09379d58ff.tar.bz2
hurrycurry-998267627f1b31ca4534eb6b450a1d09379d58ff.tar.zst
fix compile with cheats
Diffstat (limited to 'server/src')
-rw-r--r--server/src/commands.rs2
1 files changed, 1 insertions, 1 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(())