diff --git a/src/Battling/Models/BattleSide.cpp b/src/Battling/Models/BattleSide.cpp index 70b3d99..fb6025e 100644 --- a/src/Battling/Models/BattleSide.cpp +++ b/src/Battling/Models/BattleSide.cpp @@ -139,9 +139,9 @@ BattleScript* BattleSide::AddVolatileScript(const ArbUt::StringView& key) { script.GetValue()->Stack(); return script.GetValue(); } - script = _battle->GetLibrary()->LoadScript(ScriptCategory::Battle, key); + script = _battle->GetLibrary()->LoadScript(ScriptCategory::Side, key); if (!script.HasValue()) { - THROW("Invalid volatile script requested for battle: '" << key.c_str() << "'."); + THROW("Invalid volatile script requested for battleside: '" << key.c_str() << "'."); } return _volatile.Add(script.GetValue()); }