Fix logic

This commit is contained in:
Redox 2022-10-05 00:51:29 +02:00
parent 3fce18f3d0
commit 7894c9eb8a

View File

@ -135,7 +135,7 @@ local function playerSpawnedAtEnemySpawnPoint( ply )
end
local function playerIsInPvp( ply )
return ply.IsInPvp and ply:IsInPvp() or true
return ply.IsInPvp == nil and true or ply:IsInPvp()
end
local function playerHasSpawnProtection( ply )