mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
Update 0_Misc.lua
This commit is contained in:
parent
ce2ed7c02a
commit
c3aab0577c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ if SERVER then
|
||||||
|
|
||||||
local function BlockSpawn(ply)
|
local function BlockSpawn(ply)
|
||||||
if game.SinglePlayer() or ply:IsAdmin() then return true end
|
if game.SinglePlayer() or ply:IsAdmin() then return true end
|
||||||
if not allowPropSpawn:GetBool() then return false end
|
if not allowPropSpawn:GetBool() then return false else return true end
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, v in ipairs(spawn) do
|
for _, v in ipairs(spawn) do
|
||||||
|
|
Loading…
Reference in a new issue