aboutsummaryrefslogtreecommitdiff
path: root/gamemode/inventorysystem/cl_common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/inventorysystem/cl_common.lua')
-rw-r--r--gamemode/inventorysystem/cl_common.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/gamemode/inventorysystem/cl_common.lua b/gamemode/inventorysystem/cl_common.lua
index 361cf3c..505c5d9 100644
--- a/gamemode/inventorysystem/cl_common.lua
+++ b/gamemode/inventorysystem/cl_common.lua
@@ -42,7 +42,7 @@ function com.generatereceiver()
PrintTable(self.info.pos)
print("frominv",frominv)
print("toinv",toinv)
-
+
--Do nothing if we don't actually want to move anything anywhere
local posequal = true
if (froment ~= toent) or (fromid ~= toid) or (frominv ~= toinv) then posequal = false end
@@ -55,7 +55,7 @@ function com.generatereceiver()
end
end
if posequal then return end
-
+
local item = frominv:Get(frompos)
print("item was", item)
--Fake remove the item, in case the position we want to move it to overlaps with where it is now.