diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-11 13:48:42 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-11 13:48:42 +0200 |
commit | ae29ca99dde89f8b975ce7b3a716411ab2028e50 (patch) | |
tree | 0ecd0107dda055f9e5f4391d1df545f662a98920 /server/src/game.rs | |
parent | 42900ac1c14712f181a9719a85d9df879e15ef29 (diff) | |
download | hurrycurry-ae29ca99dde89f8b975ce7b3a716411ab2028e50.tar hurrycurry-ae29ca99dde89f8b975ce7b3a716411ab2028e50.tar.bz2 hurrycurry-ae29ca99dde89f8b975ce7b3a716411ab2028e50.tar.zst |
send map metadata
Diffstat (limited to 'server/src/game.rs')
-rw-r--r-- | server/src/game.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/game.rs b/server/src/game.rs index b20dfeb7..f196fd1f 100644 --- a/server/src/game.rs +++ b/server/src/game.rs @@ -169,12 +169,12 @@ impl Game { tile_names: self.data.tile_names.clone(), tile_collide: self.data.tile_collide.clone(), tile_interact: self.data.tile_interact.clone(), - map_names: self + maps: self .data - .map_names + .map .clone() .into_iter() - .filter(|n| n != "lobby") + .filter(|(n, _)| n != "lobby") .collect(), }, }); |