mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 22:12:54 +00:00
Fix displaying errors of map generation scripts
Displaying the error lead to a freeze.
Introduced in d842a134f9.
This commit is contained in:
@@ -26,7 +26,7 @@ async function init(data)
|
||||
"argument": data
|
||||
} });
|
||||
};
|
||||
globalThis.cancelOnLoadGameError = async() =>
|
||||
globalThis.cancelOnLoadGameError = async(errorMessage) =>
|
||||
{
|
||||
Engine.ResetCursor();
|
||||
Engine.EndGame();
|
||||
|
||||
Reference in New Issue
Block a user