fix: Adds required changes for Advanced Search feature (#1650)
This commit is contained in:
parent
96c3f2eb91
commit
fe6e9dfe5c
3 changed files with 14 additions and 20 deletions
|
|
@ -61,21 +61,6 @@ namespace Server.Gumps
|
|||
}
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, RelayInfo info)
|
||||
{
|
||||
if (m_Callback == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.ButtonID == 1)
|
||||
{
|
||||
m_Callback(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Callback(false);
|
||||
}
|
||||
}
|
||||
public override void OnResponse(NetState sender, RelayInfo info) => m_Callback?.Invoke(info.ButtonID == 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue