1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Saner block modification flag operation for not saving everything always

This commit is contained in:
Perttu Ahola 2011-10-12 10:53:37 +03:00
parent 3e975d8f28
commit b60b58b627
3 changed files with 11 additions and 6 deletions

View file

@ -441,7 +441,8 @@ void MapBlock::stepObjects(float dtime, bool server, u32 daynight_ratio)
*/
m_objects.step(dtime, server, daynight_ratio);
setChangedFlag();
//setChangedFlag();
raiseModified(MOD_STATE_WRITE_AT_UNLOAD);
}