forked from mirrors/0ad
Catch all std::exception from a map in atlas
Since0eed117e6dexceptions 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 with82513c9104Fixes: #7620 (cherry picked from commit56abf84da2) Signed-off-by: Itms <itms@wildfiregames.com>
This commit is contained in:
@@ -127,7 +127,7 @@ QUERYHANDLER(GenerateMap)
|
||||
|
||||
msg->status = 0;
|
||||
}
|
||||
catch (PSERROR_Game_World_MapLoadFailed&)
|
||||
catch (std::exception&)
|
||||
{
|
||||
// Cancel loading
|
||||
LDR_Cancel();
|
||||
|
||||
Reference in New Issue
Block a user