mirror of
https://github.com/CFC-Servers/cfc_spawn_protection.git
synced 2025-03-04 03:13:14 -05:00
Update lua/autorun/server/sv_spawn_protection.lua
Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
This commit is contained in:
parent
77bfac280e
commit
b721f7444a
@ -213,9 +213,9 @@ end
|
||||
local function spawnProtectionMoveCheck( ply, keyCode )
|
||||
if playerIsDisablingSpawnProtection( ply ) then return end
|
||||
if not playerHasSpawnProtection( ply ) then return end
|
||||
if keyVoidsSpawnProtection[ keyCode ] then
|
||||
delayRemoveSpawnProtection( ply )
|
||||
end
|
||||
if not keyVoidsSpawnProtection[ keyCode ] then return end
|
||||
|
||||
delayRemoveSpawnProtection( ply )
|
||||
end
|
||||
|
||||
-- Prevents damage if a player has spawn protection
|
||||
|
Loading…
Reference in New Issue
Block a user