diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-19 13:01:18 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:21:22 +0200 |
commit | c55d90768a9336436238dd93ae1706e23e281e84 (patch) | |
tree | a8d70b76100ae539d0659caa1c62dd0594a05817 /server/src/protocol.rs | |
parent | bcbc56d161ac78a48dcca88e5671d333614d7425 (diff) | |
download | hurrycurry-c55d90768a9336436238dd93ae1706e23e281e84.tar hurrycurry-c55d90768a9336436238dd93ae1706e23e281e84.tar.bz2 hurrycurry-c55d90768a9336436238dd93ae1706e23e281e84.tar.zst |
send neighbours on map updatre
Diffstat (limited to 'server/src/protocol.rs')
-rw-r--r-- | server/src/protocol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/protocol.rs b/server/src/protocol.rs index 34442263..18b5f6fa 100644 --- a/server/src/protocol.rs +++ b/server/src/protocol.rs @@ -61,6 +61,7 @@ pub enum PacketC { UpdateMap { pos: IVec2, tile: TileIndex, + neighbours: [Option<TileIndex>; 4], }, Collide { player: PlayerID, |