diff options
| author | inspectredc <78732756+inspectredc@users.noreply.github.com> | 2024-04-25 18:28:44 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-04-25 14:48:36 -0600 |
| commit | 32c49216fd5a1d9d5ec48fd93c177da47df3e789 (patch) | |
| tree | 3d48d5c0d023321e9a50d269de3783b50a656afa | |
| parent | bc092f2e7f3e2fd7bd4e2498ce83950f0bbde97b (diff) | |
Use Correct Factory For Behavior Script
| -rw-r--r-- | src/Companion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index 97fedab..aed016d 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -98,7 +98,7 @@ void Companion::Init(const ExportType type) { this->RegisterFactory("SM64:TEXT", std::make_shared<SM64::TextFactory>()); this->RegisterFactory("SM64:DICTIONARY", std::make_shared<SM64::DictionaryFactory>()); this->RegisterFactory("SM64:ANIM", std::make_shared<SM64::AnimationFactory>()); - this->RegisterFactory("SM64:BEHAVIOR_SCRIPT", std::make_shared<SM64::TrajectoryFactory>()); + this->RegisterFactory("SM64:BEHAVIOR_SCRIPT", std::make_shared<SM64::BehaviorScriptFactory>()); this->RegisterFactory("SM64:COLLISION", std::make_shared<SM64::CollisionFactory>()); this->RegisterFactory("SM64:GEO_LAYOUT", std::make_shared<SM64::GeoLayoutFactory>()); this->RegisterFactory("SM64:LEVEL_SCRIPT", std::make_shared<SM64::LevelScriptFactory>()); @@ -1407,4 +1407,4 @@ std::optional<YAML::Node> Companion::AddAsset(YAML::Node asset) { } return std::nullopt; -}
\ No newline at end of file +} |
