Move Script ownership to script holder, added OnRemove script hook.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-02-05 14:52:50 +01:00
parent cd7ddcf78e
commit e45a36d78e
9 changed files with 19 additions and 22 deletions

View File

@@ -67,6 +67,8 @@ namespace CreatureLib::Battling {
for (auto attack : _attacks) {
delete attack;
}
delete _activeTalent;
delete _status;
};
virtual void Initialize() {