mirror of
https://github.com/CFC-Servers/cfc_spawn_protection.git
synced 2025-03-04 03:13:14 -05:00
Update sv_spawn_protection.lua
Used alternative method of switching players weapons
This commit is contained in:
parent
5377c45fbb
commit
c9e33fcd21
@ -158,8 +158,10 @@ local function setSpawnProtectionForPvpSpawn( ply )
|
||||
if playerSpawnedAtEnemySpawnPoint( ply ) then return end
|
||||
|
||||
ply:Give("weapon_physgun")
|
||||
ply:SelectWeapon("weapon_physgun")
|
||||
timer.Simple(0, function()
|
||||
ply:Give("weapon_physgun")
|
||||
ply:SelectWeapon("weapon_physgun")
|
||||
end)
|
||||
|
||||
setLastSpawnTime( ply )
|
||||
|
Loading…
Reference in New Issue
Block a user