mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #2180
2180: Don't count freshly loaded map as modified (fixes #2178) r=Learath2 a=def- 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. Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
e54bedd6b2
|
@ -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