This commit is contained in:
AnloGames 2023-08-18 17:54:30 +03:00
parent 3b0b3d9b15
commit 3399cc8f59

View file

@ -135,6 +135,7 @@ namespace DangerousD.GameCore.GUI
};
Elements.Add(joinByIpButton);
joinByIpButton.LeftButtonPressed += () => {
AppManager.Instance.ChangeGameState(GameState.Game);
AppManager.Instance.NetworkManager.ClientInit(searchBarTextBox.text);
};
}