From d2d67384a741cd70624b690dd57ef96fff787b7b Mon Sep 17 00:00:00 2001 From: Jett <55758076+Jettford@users.noreply.github.com> Date: Sun, 24 Dec 2023 20:45:27 +0000 Subject: [PATCH] fix: update trigger loading code after typo (#1357) --- dZoneManager/Zone.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dZoneManager/Zone.cpp b/dZoneManager/Zone.cpp index d11d11dd..463f0a8a 100644 --- a/dZoneManager/Zone.cpp +++ b/dZoneManager/Zone.cpp @@ -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"); }