aboutsummaryrefslogtreecommitdiff
path: root/server/editor
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-03-01 21:55:16 +0100
committermetamuffin <metamuffin@disroot.org>2026-03-01 21:55:16 +0100
commit74ffa47147d2bb989057b4513075975c44c2bc42 (patch)
tree0a2242b25fefcf62f94ac6b712c9e937e3b8e35c /server/editor
parentd6acbd76a81bb97c1ff74a66a2af9b00713ca6d0 (diff)
downloadhurrycurry-74ffa47147d2bb989057b4513075975c44c2bc42.tar
hurrycurry-74ffa47147d2bb989057b4513075975c44c2bc42.tar.bz2
hurrycurry-74ffa47147d2bb989057b4513075975c44c2bc42.tar.zst
add serverdata packet with data fields that dont change across games; add motd and server name
Diffstat (limited to 'server/editor')
-rw-r--r--server/editor/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/editor/src/main.rs b/server/editor/src/main.rs
index 1751b1f5..0f0dcab3 100644
--- a/server/editor/src/main.rs
+++ b/server/editor/src/main.rs
@@ -141,7 +141,7 @@ async fn handle_conn(
minor: VERSION.1,
supports_bincode: false,
});
- state.out.push(PacketC::Data {
+ state.out.push(PacketC::GameData {
data: Box::new(Gamedata {
tile_collide: (0..TILES.len()).map(TileIndex).collect(),
tile_placeable_items: BTreeMap::new(),