Root Menu Handles during Display.
This commit is contained in:
parent
591aea54b6
commit
284fab7254
@ -593,6 +593,7 @@ bool CRadioMenu::DisplayAtItem(int client,
|
||||
return false;
|
||||
}
|
||||
|
||||
AutoHandleRooter ahr(this->GetHandle());
|
||||
return g_RadioMenuStyle.DoClientMenu(client,
|
||||
this,
|
||||
start_item,
|
||||
|
@ -41,6 +41,8 @@
|
||||
#include "sm_fastlink.h"
|
||||
#include <sh_stack.h>
|
||||
#include <compat_wrappers.h>
|
||||
#include "logic/common_logic.h"
|
||||
#include "AutoHandleRooter.h"
|
||||
|
||||
using namespace SourceMod;
|
||||
|
||||
|
@ -408,6 +408,7 @@ bool CValveMenu::DisplayAtItem(int client,
|
||||
return false;
|
||||
}
|
||||
|
||||
AutoHandleRooter ahr(this->GetHandle());
|
||||
return g_ValveMenuStyle.DoClientMenu(client, this, start_item, alt_handler ? alt_handler : m_pHandler, time);
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,8 @@
|
||||
#include "KeyValues.h"
|
||||
#include "sm_fastlink.h"
|
||||
#include <compat_wrappers.h>
|
||||
#include "logic/common_logic.h"
|
||||
#include "AutoHandleRooter.h"
|
||||
|
||||
using namespace SourceMod;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user