Add a quick save button to the map editor.

This commit is contained in:
Matthias Mailänder
2022-12-25 17:59:56 +01:00
committed by Gustas
parent 3dd1fd6b00
commit 7cdc8c4ec5
10 changed files with 202 additions and 54 deletions

View File

@@ -31,10 +31,12 @@ namespace OpenRA.Mods.Common.Traits
int nextId;
public bool Modified;
public bool SaveFailed;
public void WorldLoaded(World w, WorldRenderer wr)
{
Add(new OpenMapAction());
Modified = false;
}
public void Add(IEditorAction editorAction)