mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-28 12:53:02 +05:00
Update shared.lua
This commit is contained in:
parent
9e005f61c9
commit
fa800eb51f
1 changed files with 2 additions and 2 deletions
|
@ -124,10 +124,10 @@ local meta = FindMetaTable("Player")
|
|||
if SERVER then
|
||||
function meta:DataTheft_Bank()
|
||||
local dbtbl = ents.FindByClass("br_databank")
|
||||
local bank = dbtbl[math.random(1, #dbtbl)]
|
||||
local bank = dbtbl[math.random(#dbtbl)]
|
||||
|
||||
if bank then
|
||||
self:SetNW2Entity("DataBank", bank)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue