(8fed20401) Fixed the "mysteries lie ahead" popup opening multiple times when clicking the icon at the center of the map
This commit is contained in:
@@ -624,7 +624,9 @@ namespace Barotrauma
|
|||||||
|
|
||||||
if (mouseOn && PlayerInput.LeftButtonClicked() && !messageBoxOpen)
|
if (mouseOn && PlayerInput.LeftButtonClicked() && !messageBoxOpen)
|
||||||
{
|
{
|
||||||
|
//TODO: translate or replace
|
||||||
var messageBox = new GUIMessageBox("Mysteries lie ahead...", "This area is unreachable in this version of Barotrauma. Please wait for future updates!");
|
var messageBox = new GUIMessageBox("Mysteries lie ahead...", "This area is unreachable in this version of Barotrauma. Please wait for future updates!");
|
||||||
|
messageBoxOpen = true;
|
||||||
CoroutineManager.StartCoroutine(WaitForMessageBoxClosed(messageBox));
|
CoroutineManager.StartCoroutine(WaitForMessageBoxClosed(messageBox));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user