mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Fixes in options, hotkeys and viplist
This commit is contained in:
@@ -1129,6 +1129,11 @@ void Game::removeVip(int playerId)
|
||||
{
|
||||
if(!canPerformGameAction())
|
||||
return;
|
||||
|
||||
auto it = m_vips.find(playerId);
|
||||
if(it == m_vips.end())
|
||||
return;
|
||||
m_vips.erase(it);
|
||||
m_protocolGame->sendRemoveVip(playerId);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user