fix: state machines now handle being disabled

This commit is contained in:
Sara 2025-07-25 01:52:59 +02:00
parent 707c38894a
commit 5d0ae90fbc
3 changed files with 19 additions and 1 deletions

View file

@ -19,6 +19,7 @@ public:
private:
State *current_state{ nullptr };
bool current_state_is_active{ false };
HashMap<StringName, State *> states{};
};