fix: property behavior crashes (#1813)

This commit is contained in:
David Markowitz
2025-06-08 19:41:43 -07:00
committed by GitHub
parent 2858345269
commit c19ee04c8a
5 changed files with 17 additions and 6 deletions

View File

@@ -33,6 +33,9 @@ public:
void SpawnDrop(LOT dropLOT, Entity& entity);
void ProcNormalAction(float deltaTime, ModelComponent& modelComponent);
void RemoveStates(ModelComponent& modelComponent) const;
// 2 actions are required for strips to work
bool HasMinimumActions() const { return m_Actions.size() >= 2; }
private:
// Indicates this Strip is waiting for an action to be taken upon it to progress to its actions
bool m_WaitingForAction{ false };