From 233e478e40d72a091f70f18dc6846066a4f52016 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Thu, 24 Aug 2017 20:32:34 -0400 Subject: Fix all linter warnings --- gamemode/inventorysystem/shapedinventory/sh_shaped.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/inventorysystem/shapedinventory') diff --git a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua index bb35d2d..76d322d 100644 --- a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua +++ b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua @@ -114,7 +114,7 @@ function inv:Serialize() for k,v in pairs(self.tracker) do if type(v) == "table" then local row = math.ceil(k / self.width) - local col = (k % self.width) + local col = k % self.width ret[v.Name] = {{row,col},v:Serialize()} end end -- cgit v1.2.3-70-g09d2