summaryrefslogtreecommitdiff
path: root/src/Companion.cpp
diff options
context:
space:
mode:
authorinspectredc <78732756+inspectredc@users.noreply.github.com>2024-04-25 18:28:44 +0100
committerLywx <kiritodev01@gmail.com>2024-04-25 14:48:36 -0600
commit32c49216fd5a1d9d5ec48fd93c177da47df3e789 (patch)
tree3d48d5c0d023321e9a50d269de3783b50a656afa /src/Companion.cpp
parentbc092f2e7f3e2fd7bd4e2498ce83950f0bbde97b (diff)
Use Correct Factory For Behavior Script
Diffstat (limited to 'src/Companion.cpp')
-rw-r--r--src/Companion.cpp4
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
+}