mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +00:00
fix: update trigger loading code after typo (#1357)
This commit is contained in:
parent
dbf37c2d2b
commit
d2d67384a7
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user