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 @@ class ServerActiveObject : public ActiveObject
/*
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;
/*