1
0
forked from mirrors/0ad

Catch all std::exception when loading a map

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

(cherry picked from commit 82513c9104)
Signed-off-by: Itms <itms@wildfiregames.com>
This commit is contained in:
phosit
2024-12-30 15:02:45 +01:00
committed by Itms
parent 275fd94ef1
commit c4dbfc9c4b
+1 -1
View File
@@ -333,7 +333,7 @@ static int ProgressiveLoad()
break;
}
}
catch (PSERROR_Game_World_MapLoadFailed& e)
catch (std::exception& e)
{
// Map loading failed