diff --git a/ZoFo/GameCore/GUI/SelectingServerGUI.cs b/ZoFo/GameCore/GUI/SelectingServerGUI.cs index 8de30cb..e1296ef 100644 --- a/ZoFo/GameCore/GUI/SelectingServerGUI.cs +++ b/ZoFo/GameCore/GUI/SelectingServerGUI.cs @@ -80,11 +80,7 @@ public class SelectingServerGUI : AbstractGUI AppManager.Instance.SetGUI(new WaitingForPlayersGUI(false)); } } - catch (Exception) - { - - // throw; - } + catch (Exception) { } // ваш код здесь }; diff --git a/ZoFo/GameCore/GameManagers/NetworkManager/Updates/ServerToClient/UpdateCreatePlayer.cs b/ZoFo/GameCore/GameManagers/NetworkManager/Updates/ServerToClient/UpdateCreatePlayer.cs new file mode 100644 index 0000000..c393dc9 --- /dev/null +++ b/ZoFo/GameCore/GameManagers/NetworkManager/Updates/ServerToClient/UpdateCreatePlayer.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ZoFo.GameCore.GameManagers.NetworkManager.Updates.ServerToClient +{ + public class UpdateCreatePlayer : UpdateData + { + public int PlayerId { get; set; } + public UpdateCreatePlayer() + { + isImportant = true; + UpdateType = "UpdateCreatePlayer"; + } + + } +}