mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
fix: update trigger loading code after typo (#1357)
This commit is contained in:
@@ -280,7 +280,8 @@ void Zone::LoadLUTriggers(std::string triggerFile, SceneRef& scene) {
|
|||||||
newCommand->target = currentCommand->Attribute("target");
|
newCommand->target = currentCommand->Attribute("target");
|
||||||
if (currentCommand->Attribute("targetName")) {
|
if (currentCommand->Attribute("targetName")) {
|
||||||
newCommand->targetName = currentCommand->Attribute("targetName");
|
newCommand->targetName = currentCommand->Attribute("targetName");
|
||||||
} else if (currentCommand->Attribute("args")) {
|
}
|
||||||
|
if (currentCommand->Attribute("args")) {
|
||||||
newCommand->args = currentCommand->Attribute("args");
|
newCommand->args = currentCommand->Attribute("args");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user