Fixing stuff part 1
This commit is contained in:
@@ -270,7 +270,7 @@ namespace Barotrauma.Networking
|
||||
|
||||
otherClients = new List<Client>();
|
||||
|
||||
serverSettings = new ServerSettings(this, "Server", 0, 0, 0, false, false);
|
||||
serverSettings = new ServerSettings(this, "Server", 0, 0, 0, false, false, System.Net.IPAddress.Any);
|
||||
Voting = new Voting();
|
||||
|
||||
if (steamId == 0)
|
||||
|
||||
@@ -386,7 +386,7 @@ namespace Barotrauma
|
||||
#endif
|
||||
|
||||
new GUIButton(new RectTransform(new Point(300, 30), Frame.RectTransform, Anchor.TopLeft) { AbsoluteOffset = new Point(20, 50) },
|
||||
"Remove Client-Side Lua", style: "MainMenuGUIButton", color: GUI.Style.Red)
|
||||
"Remove Client-Side Lua", style: "MainMenuGUIButton", color: GUIStyle.Red)
|
||||
{
|
||||
IgnoreLayoutGroups = true,
|
||||
UserData = Tab.Empty,
|
||||
@@ -407,7 +407,7 @@ namespace Barotrauma
|
||||
return false;
|
||||
}
|
||||
|
||||
var msg = new GUIMessageBox("Confirm", "Are you sure you want to remove Client-Side Lua?", new string[] { "Remove", "Cancel" });
|
||||
var msg = new GUIMessageBox("Confirm", "Are you sure you want to remove Client-Side Lua?", new LocalizedString[2] { TextManager.Get("Yes"), TextManager.Get("Cancel") });
|
||||
|
||||
msg.Buttons[0].OnClicked = (GUIButton button, object obj) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user