1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00: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

@ -47,6 +47,9 @@ struct MapEditEvent
MapNode n = CONTENT_AIR;
std::vector<v3s16> modified_blocks; // Represents a set
bool is_private_change = false;
// Setting low_priority to true allows the server
// to send this change to clients with some delay.
bool low_priority = false;
MapEditEvent() = default;