Added changes to how zones/areas are accessed in the lua scripts too.

This commit is contained in:
Filip Maj committed 2022-02-05 18:00:09 -05:00
1 parent 4e0cf36552
commit 68e55a1c76
18 files changed
+33 -35

No files matched your search

+1 -1
View File
@@ -263,7 +263,7 @@ function doExitDoor(player, quest, npc)
quest:StartSequence(SEQ_005);
contentArea = player:GetZone():CreateContentArea(player, "/Area/PrivateArea/Content/PrivateAreaMasterSimpleContent", "man0l01", "SimpleContent30002", "Quest/QuestDirectorMan0l001");
contentArea = player.CurrentArea:CreateContentArea(player, "/Area/PrivateArea/Content/PrivateAreaMasterSimpleContent", "man0l01", "SimpleContent30002", "Quest/QuestDirectorMan0l001");
if (contentArea == nil) then
return;