Eventy upraveny pro podporu dvou hráčů. Všechny dveře se zobrazují na správných pozicích pro oba hráče.
This commit is contained in:
parent
cea56112ea
commit
3049417914
18 changed files with 157 additions and 75 deletions
|
|
@ -18,8 +18,8 @@ public class GameLogic {
|
|||
connectorsConverted[i * 3 + 1] = connectors[i].Tiles.tile2.Id;
|
||||
connectorsConverted[i * 3 + 2] = (int)connectors[i].Type;
|
||||
}
|
||||
Server.SendPacketToAll(new MapInitPacket{Connectors = connectorsConverted});
|
||||
|
||||
Server.SendPacket(new MapInitPacket{Connectors = connectorsConverted, UpsideDown = true}, Server.P1.peer);
|
||||
Server.SendPacket(new MapInitPacket{Connectors = connectorsConverted, UpsideDown = false}, Server.P2.peer);
|
||||
|
||||
}
|
||||
public static void Update() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue