v0.4.1.3:
- fixed debug message height not being set correctly - fixed submarine list not being updated if host has enabled "play yourself" - fixed "queue empty" error when attempting to download a sub from the server - maximum number of iterations when carving a path for a cave
This commit is contained in:
@@ -1058,6 +1058,15 @@ namespace Barotrauma
|
||||
"Do you want to download the file from the server host?" :
|
||||
"Do you want to download the file and cancel downloading ''" + GameMain.Client.ActiveFileTransferName + "''?";
|
||||
|
||||
if (GUIMessageBox.MessageBoxes.Count>0)
|
||||
{
|
||||
var currentMessageBox = GUIMessageBox.MessageBoxes.Peek();
|
||||
if (currentMessageBox != null && currentMessageBox.UserData as string == subName)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
var requestFileBox = new GUIMessageBox("Submarine not found!", errorMsg+downloadMsg, new string[] { "Yes", "No" }, 400, 300);
|
||||
requestFileBox.Buttons[0].UserData = subName;
|
||||
requestFileBox.Buttons[0].OnClicked += requestFileBox.Close;
|
||||
|
||||
Reference in New Issue
Block a user