mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
Fix displaying errors of map generation scripts
Displaying the error lead to a freeze.
Introduced in d842a134f9.
This commit is contained in:
parent
6244d25f90
commit
e6f75f2c33
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ async function init(data)
|
|||
"argument": data
|
||||
} });
|
||||
};
|
||||
globalThis.cancelOnLoadGameError = async() =>
|
||||
globalThis.cancelOnLoadGameError = async(errorMessage) =>
|
||||
{
|
||||
Engine.ResetCursor();
|
||||
Engine.EndGame();
|
||||
|
|
|
|||
Loading…
Reference in a new issue