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
This commit is contained in:
phosit
2025-03-06 20:57:56 +01:00
committed by phosit
parent 1a8757660f
commit 56abf84da2
@@ -127,7 +127,7 @@ QUERYHANDLER(GenerateMap)
msg->status = 0;
}
catch (PSERROR_Game_World_MapLoadFailed&)
catch (std::exception&)
{
// Cancel loading
LDR_Cancel();