mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
Tiny setPVPMode fix
This commit is contained in:
@@ -1229,6 +1229,8 @@ void Game::setPVPMode(Otc::PVPModes pvpMode)
|
||||
{
|
||||
if(!canPerformGameAction())
|
||||
return;
|
||||
if(!g_game.getFeature(Otc::GameFeature::PVPModes))
|
||||
return;
|
||||
if(m_pvpMode == pvpMode)
|
||||
return;
|
||||
m_pvpMode = pvpMode;
|
||||
|
Reference in New Issue
Block a user