fix: update trigger loading code after typo (#1357)

This commit is contained in:
Jett 2023-12-24 20:45:27 +00:00 committed by GitHub
parent dbf37c2d2b
commit d2d67384a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,8 @@ void Zone::LoadLUTriggers(std::string triggerFile, SceneRef& scene) {
newCommand->target = currentCommand->Attribute("target");
if (currentCommand->Attribute("targetName")) {
newCommand->targetName = currentCommand->Attribute("targetName");
} else if (currentCommand->Attribute("args")) {
}
if (currentCommand->Attribute("args")) {
newCommand->args = currentCommand->Attribute("args");
}