mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Use Correct Factory For Behavior Script
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user