This commit is contained in:
Rachael Alexanderson 2017-03-30 02:11:03 -04:00
commit 39826753f9
53 changed files with 671 additions and 718 deletions

View file

@ -244,6 +244,12 @@ void DMenu::Close ()
if (CurrentMenu != nullptr)
{
GC::WriteBarrier(CurrentMenu);
IFVIRTUALPTR(CurrentMenu, DMenu, OnReturn)
{
VMValue params[] = { CurrentMenu };
GlobalVMStack.Call(func, params, 1, nullptr, 0, nullptr);
}
}
else
{