Adds animations for Playerbot

Fixes PauseMenu navigation behavior and confirms the menu buttons and page nav to standard
Fixes PauseMenu and OptionMenu menu buttons that were not being set correctly on wake
Fixes logic in the shape editor where it wouldn't add new sequences if you were working off a non-assetId sequence in the sequence list(such as ambient)
This commit is contained in:
JeffR 2022-06-21 00:25:03 -05:00
parent c8ef1c5c85
commit 6d2bfa0368
6 changed files with 84 additions and 53 deletions

View file

@ -175,8 +175,11 @@ function UINavigation::popPage(%this, %callback)
}
%newTopPage = %this.getCurrentPage();
if(%newTopPage.isMethod("onOpen"))
%newTopPage.call("onOpen");
if(isObject(%newTopPage))
{
if(%newTopPage.isMethod("onOpen"))
%newTopPage.call("onOpen");
}
if(%callback !$= "")
eval(%callback);