mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Don't count freshly loaded map as modified (fixes #2178)
The reason is that we increased the sensitivity of the modified flag to include adding layers and groups, and simply loading the map already adds those, so every loaded map was considered modified.
This commit is contained in:
parent
7aa69188b5
commit
b480492ded
|
@ -1294,6 +1294,7 @@ int CEditorMap::Load(class IStorage *pStorage, const char *pFileName, int Storag
|
|||
else
|
||||
return 0;
|
||||
|
||||
m_Modified = false;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue