(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:
Joonas Rikkonen
2019-05-07 13:19:12 +03:00
parent a76c3909b9
commit aa287f8bfb

View File

@@ -624,7 +624,9 @@ namespace Barotrauma
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!");
messageBoxOpen = true;
CoroutineManager.StartCoroutine(WaitForMessageBoxClosed(messageBox));
}
}