aboutsummaryrefslogtreecommitdiff
path: root/server/editor
diff options
context:
space:
mode:
Diffstat (limited to 'server/editor')
-rw-r--r--server/editor/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/editor/src/main.rs b/server/editor/src/main.rs
index 5fb8f1a4..f6fcd9af 100644
--- a/server/editor/src/main.rs
+++ b/server/editor/src/main.rs
@@ -142,13 +142,13 @@ async fn handle_conn(
supports_bincode: false,
});
state.out.push(PacketC::Data {
- data: Gamedata {
+ data: Box::new(Gamedata {
tile_walkable: (0..TILES.len()).map(TileIndex).collect(),
tile_placeable_items: BTreeMap::new(),
tile_names: TILES.iter().map(|(name, _, _)| name.to_string()).collect(),
current_map: "editor".to_owned(),
..Default::default()
- },
+ }),
});
state.out.push(PacketC::SetIngame {
state: true,