diff --git a/entities/entity.cpp b/entities/entity.cpp index d9deec0..0efb654 100644 --- a/entities/entity.cpp +++ b/entities/entity.cpp @@ -4217,7 +4217,7 @@ void Entity::update(float delta) { s->apply_modifiers(); if (s->get_dirty()) { - //send target is nout public + //send target is not public s->setc_values(s->gets_current(), s->gets_max()); s->set_dirty(false); } diff --git a/entities/stats/stat.cpp b/entities/stats/stat.cpp index 335a5da..3870268 100644 --- a/entities/stats/stat.cpp +++ b/entities/stats/stat.cpp @@ -473,6 +473,9 @@ void Stat::_from_dict(const Dictionary &dict) { _modifiers.push_back(sm); } + + _dirty = true; + _dirty_mods = true; } Stat::Stat() {