Catch all std::exception from a map in atlas

Since 0eed117e6d exceptions from the map generation script are rethrown
in the main thread but not all of them are catched.

This defect is already fixed in the engine with 82513c9104

Fixes: #7620
(cherry picked from commit 56abf84da2)
Signed-off-by: Itms <itms@wildfiregames.com>
This commit is contained in:
phosit
2025-03-06 20:57:56 +01:00
committed by Itms
parent 2fcce77ad4
commit b78b666797
@@ -127,7 +127,7 @@ QUERYHANDLER(GenerateMap)
msg->status = 0;
}
catch (PSERROR_Game_World_MapLoadFailed&)
catch (std::exception&)
{
// Cancel loading
LDR_Cancel();