mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
Compare commits
2 Commits
394f30251a
...
ccf640ddaf
Author | SHA1 | Date | |
---|---|---|---|
|
ccf640ddaf | ||
|
1e0fd5cbfb |
@ -299,10 +299,14 @@ void UMenuStack::LastMenuClosed(bool bWasCancel)
|
|||||||
void UMenuStack::CloseAll(bool bWasCancel)
|
void UMenuStack::CloseAll(bool bWasCancel)
|
||||||
{
|
{
|
||||||
// We don't go through normal pop sequence, this is a shot circuit
|
// We don't go through normal pop sequence, this is a shot circuit
|
||||||
for (int i = Menus.Num() - 1; i >= 0; --i)
|
for (int i = Menus.Num() - 1; i >= 0; --i)
|
||||||
{
|
{
|
||||||
Menus[i]->RemovedFromStack(this);
|
UMenuBase* Menu = Menus[i];
|
||||||
}
|
if (IsValid(Menu))
|
||||||
|
{
|
||||||
|
Menus[i]->RemovedFromStack(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
Menus.Empty();
|
Menus.Empty();
|
||||||
LastMenuClosed(bWasCancel);
|
LastMenuClosed(bWasCancel);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user