fix: Adds required changes for Advanced Search feature (#1650)

This commit is contained in:
Kamron Batman 2023-12-28 18:16:58 -08:00 • committed by GitHub
parent 96c3f2eb91
commit fe6e9dfe5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 20 deletions

View file

@ -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);
}
}