From 00cccdcdd24f17880dc4473fd093ccc5702c6820 Mon Sep 17 00:00:00 2001 From: FluffyXVI Date: Fri, 17 May 2019 12:10:38 +1000 Subject: [PATCH] Item: Inventory access for superadmins --- fluffy_mg_base/gamemode/shop/cl_inventory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluffy_mg_base/gamemode/shop/cl_inventory.lua b/fluffy_mg_base/gamemode/shop/cl_inventory.lua index cd44bfd..20fe1ea 100644 --- a/fluffy_mg_base/gamemode/shop/cl_inventory.lua +++ b/fluffy_mg_base/gamemode/shop/cl_inventory.lua @@ -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()