Cleanup of ScriptAggregator class.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-23 23:23:58 +02:00
parent 3a11bba913
commit dd668f2b1c
11 changed files with 89 additions and 75 deletions

View File

@@ -56,7 +56,7 @@ namespace CreatureLib::Battling {
protected:
void GetActiveScripts(Arbutils::Collections::List<ScriptWrapper>& scripts) override {
scripts.Append(&_attackScript);
scripts.Append(ScriptWrapper::FromScript(&_attackScript));
GetUser()->GetActiveScripts(scripts);
}
};