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

This commit is contained in:
Filip Maj 2022-02-05 18:00:09 -05:00
parent 4e0cf36552
commit 68e55a1c76
18 changed files with 33 additions and 35 deletions

View file

@ -25,7 +25,7 @@ function onEventStarted(player, actor, triggerName, isGoobbue)
player:ChangeSpeed(0.0, 5.0, 10.0, 10.0);
player:ChangeState(15);
else
player:ChangeMusic(player:GetZone().bgmDay);
player:ChangeMusic(player.CurrentArea.bgmDay);
worldMaster = GetWorldMaster();