Don't save blocks asap for only lighting updates

This commit is contained in:
sfan5 2024-01-19 16:02:26 +01:00
parent 9e3a11534f
commit be7844192b

@ -155,7 +155,7 @@ public:
{ {
if (newflags != m_lighting_complete) { if (newflags != m_lighting_complete) {
m_lighting_complete = newflags; m_lighting_complete = newflags;
raiseModified(MOD_STATE_WRITE_NEEDED, MOD_REASON_SET_LIGHTING_COMPLETE); raiseModified(MOD_STATE_WRITE_AT_UNLOAD, MOD_REASON_SET_LIGHTING_COMPLETE);
} }
} }