mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33: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,7 +124,7 @@ local meta = FindMetaTable("Player")
|
||||||
if SERVER then
|
if SERVER then
|
||||||
function meta:DataTheft_Bank()
|
function meta:DataTheft_Bank()
|
||||||
local dbtbl = ents.FindByClass("br_databank")
|
local dbtbl = ents.FindByClass("br_databank")
|
||||||
local bank = dbtbl[math.random(1, #dbtbl)]
|
local bank = dbtbl[math.random(#dbtbl)]
|
||||||
|
|
||||||
if bank then
|
if bank then
|
||||||
self:SetNW2Entity("DataBank", bank)
|
self:SetNW2Entity("DataBank", bank)
|
||||||
|
|
Loading…
Reference in a new issue