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

Handle static_save changes at runtime and between restarts

This commit is contained in:
sfan5
2024-03-02 09:54:53 +01:00
parent 2386bfda7e
commit 8339594206
3 changed files with 49 additions and 26 deletions

View File

@@ -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;
/*