diff --git a/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp b/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp index be2b80be..264e9373 100644 --- a/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp +++ b/dGame/dUtilities/SlashCommands/DEVGMCommands.cpp @@ -1640,7 +1640,7 @@ namespace DEVGMCommands { for (auto* const player : PlayerManager::GetAllPlayers()) { auto* const pCharacterComponent = player->GetComponent(); - if (pCharacterComponent) pCharacterComponent->SetPvpEnabled(args == "start"); + if (pCharacterComponent) pCharacterComponent->SetPvpEnabled(true); Game::entityManager->SerializeEntity(player); } const auto msg = u"Pvp has been turned on for all players by " + GeneralUtils::ASCIIToUTF16(characterComponent->GetName());