1
0
mirror of https://github.com/CFC-Servers/chucks_weaponry_2.0.git synced 2025-03-04 03:13:12 -05:00

Fix initial spawn

This commit is contained in:
Brandon Sturgeon 2023-11-22 14:40:20 -08:00 committed by GitHub
parent 3d843375be
commit d924197208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
function CustomizableWeaponry.PlayerInitialSpawn(ply)
timer.Simple(3, function()
timer.Simple(3, function()
if not IsValid(ply) then return end
CustomizableWeaponry.postSpawn(ply)
end)
end
@ -20,4 +21,4 @@ function CustomizableWeaponry.AllowPlayerPickup(ply, ent)
end
end
hook.Add("AllowPlayerPickup", "CustomizableWeaponry.AllowPlayerPickup", CustomizableWeaponry.AllowPlayerPickup)
hook.Add("AllowPlayerPickup", "CustomizableWeaponry.AllowPlayerPickup", CustomizableWeaponry.AllowPlayerPickup)