1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Mark liquid and light updates low priority

This commit is contained in:
Lars
2025-04-21 17:06:01 -07:00
committed by lhofhansl
parent 2a3427a39c
commit 00addc3e5d
5 changed files with 29 additions and 20 deletions

View File

@@ -714,6 +714,7 @@ MapBlock *ServerMap::loadBlock(const std::string &blob, v3s16 p3d, bool save_aft
if (!modified_blocks.empty()) {
MapEditEvent event;
event.type = MEET_OTHER;
event.low_priority = true;
event.setModifiedBlocks(modified_blocks);
dispatchEvent(event);
}