Skip to content

Commit

Permalink
Item: Inventory access for superadmins
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffyXVI committed May 17, 2019
1 parent 045c5e0 commit 00cccdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluffy_mg_base/gamemode/shop/cl_inventory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function SHOP:PopulateSettings()
end

function SHOP:OpenInventory()
if true then return end -- disable this function for now
if not LocalPlayer():IsSuperAdmin() then return end -- disable this function for now

if IsValid(SHOP.InventoryPanel) then return end
SHOP:VerifyInventory()
Expand Down

0 comments on commit 00cccdc

Please sign in to comment.