Merge branch 'NetworkManagerRDPProtocolImplementation' of github.com:progtime-net/ZoFo into NetworkManagerRDPProtocolImplementation
This commit is contained in:
commit
d3747c3d0d
2 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,7 @@ public class WaitingForPlayersGUI : AbstractGUI
|
|||
{
|
||||
// start
|
||||
AppManager.Instance.ChangeState(GameState.HostPlaying);
|
||||
AppManager.Instance.SetGUI(new HUD());
|
||||
AppManager.Instance.SetGUI(new HUD());////
|
||||
AppManager.Instance.server.StartGame();
|
||||
// ваш код здесь
|
||||
};
|
||||
|
|
|
@ -43,7 +43,6 @@ namespace ZoFo.GameCore.GameManagers.NetworkManager
|
|||
private void Init()
|
||||
{
|
||||
endPoint = new IPEndPoint(GetIp(), 8080);
|
||||
sendedData = new List<Datagramm>();
|
||||
socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
|
||||
clientsEP = new List<IPEndPoint>();
|
||||
commonUpdates = new List<UpdateData>();
|
||||
|
|
Loading…
Add table
Reference in a new issue