forked from Mirrorlandia_minetest/minetest
Don't save blocks asap for only lighting updates
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user