diff --git a/beatrun/gamemodes/beatrun/entities/entities/br_databank/shared.lua b/beatrun/gamemodes/beatrun/entities/entities/br_databank/shared.lua index a8e1989..4e2f4b6 100644 --- a/beatrun/gamemodes/beatrun/entities/entities/br_databank/shared.lua +++ b/beatrun/gamemodes/beatrun/entities/entities/br_databank/shared.lua @@ -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 \ No newline at end of file +end