openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

Missing enum for CGameScriptHandlerPlaygroundInterface > CloseInGameMenu and PlayUISound #12

Closed glocom closed 2 years ago

glocom commented 2 years ago

The CGameScriptHandlerPlaygroundInterface > CloseInGameMenu method previously expected the enum parameter EInGameMenuResult, but now it expects UnnamedEnum. This does not work as intended and it should be reverted to the EInGameMenuResult enum.

I noticed the same for the PlayUISound enum, which used to be EUISound.

Reference to the docs: https://next.openplanet.nl/Game/CGameScriptHandlerPlaygroundInterface

codecat commented 2 years ago

Thanks! Nadeo's code in this regard is pretty messed up and all over the place. I'm not sure why they made this change. Either way, I have managed to fix this and many of these instances:

image