Ensure Battle passes the right script count.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
19062cfc93
commit
be3b1fcf5a
|
@ -32,6 +32,7 @@ namespace PkmnLib::Battling {
|
||||||
}
|
}
|
||||||
const Arbutils::CaseInsensitiveConstString& GetWeatherName() noexcept { return _weatherScript->GetName(); }
|
const Arbutils::CaseInsensitiveConstString& GetWeatherName() noexcept { return _weatherScript->GetName(); }
|
||||||
|
|
||||||
|
size_t ScriptCount() const override { return CreatureLib::Battling::Battle::ScriptCount() + 1; }
|
||||||
void GetActiveScripts(List<CreatureLib::Battling::ScriptWrapper>& scripts) override {
|
void GetActiveScripts(List<CreatureLib::Battling::ScriptWrapper>& scripts) override {
|
||||||
CreatureLib::Battling::Battle::GetActiveScripts(scripts);
|
CreatureLib::Battling::Battle::GetActiveScripts(scripts);
|
||||||
scripts.Append(CreatureLib::Battling::ScriptWrapper(
|
scripts.Append(CreatureLib::Battling::ScriptWrapper(
|
||||||
|
|
Loading…
Reference in New Issue