mirror of
https://github.com/CFC-Servers/cfc_spawn_protection.git
synced 2025-03-04 03:13:14 -05:00
Use isInPvp instead
This commit is contained in:
parent
7867f21163
commit
5caec59167
@ -154,7 +154,7 @@ local function playerSpawnedAtEnemySpawnPoint( ply )
|
||||
end
|
||||
|
||||
local function playerIsInPvp( ply )
|
||||
return ply:GetNWBool( "CFC_PvP_Mode", false )
|
||||
return ply:isInPvp()
|
||||
end
|
||||
|
||||
local function playerHasSpawnProtection( ply )
|
||||
|
Loading…
Reference in New Issue
Block a user