mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 01:06:50 +00:00
Fixes some bugs related to deleting saved games (in particular, load/delete was broken if the file was deleted externally while the game was running).
Adds saved game directory to the hotload watch list. Logs error instead of crashing when saved game is not found. Changes Atlas double-click selection to only pick units from the same player. This was SVN commit r11332.
This commit is contained in:
@@ -213,7 +213,6 @@ CScriptVal StartSavedGame(void* cbdata, std::wstring name)
|
||||
CScriptValRooted metadata;
|
||||
std::string savedState;
|
||||
Status err = SavedGames::Load(name, guiManager->GetScriptInterface(), metadata, savedState);
|
||||
WARN_IF_ERR(err);
|
||||
if (err < 0)
|
||||
return CScriptVal();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user