瀏覽代碼

Update TasksaboardtheFarJourney.lua

Fix the duplicate "open" entity commands presented on the chests
Image 3 年之前
父節點
當前提交
875be485de
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      server/Quests/FarJourneyFreeport/TasksaboardtheFarJourney.lua

+ 1 - 0
server/Quests/FarJourneyFreeport/TasksaboardtheFarJourney.lua

@@ -109,6 +109,7 @@ function CurrentStep(Quest, QuestGiver, Player)
 			spawn = GetSpawnFromList(spawns, i-1)
 			if spawn then
 				ChangeHandIcon(spawn, 1)
+				AddPrimaryEntityCommand(nil, spawn)
 				SpawnSet(NPC, "targetable", 1, true, true)
 			end
 			i = i + 1