mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Handle static_save changes at runtime and between restarts
This commit is contained in:
parent
2386bfda7e
commit
8339594206
3 changed files with 49 additions and 26 deletions
|
@ -229,6 +229,10 @@ public:
|
|||
|
||||
/*
|
||||
Whether the object's static data has been stored to a block
|
||||
|
||||
Note that `!isStaticAllowed() && m_static_exists` is a valid state
|
||||
(though it usually doesn't persist long) and you need to be careful
|
||||
about handling it.
|
||||
*/
|
||||
bool m_static_exists = false;
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue