mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
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
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