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:
parent
2a3427a39c
commit
00addc3e5d
5 changed files with 29 additions and 20 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue