mirror of
https://github.com/CFC-Servers/cfc_spawn_protection.git
synced 2025-03-04 03:13:14 -05:00
Fix logic
This commit is contained in:
parent
3fce18f3d0
commit
7894c9eb8a
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user