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/itemsystem/item_common.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gamemode/itemsystem/item_common.lua') diff --git a/gamemode/itemsystem/item_common.lua b/gamemode/itemsystem/item_common.lua index b4b7cce..acfc3e5 100644 --- a/gamemode/itemsystem/item_common.lua +++ b/gamemode/itemsystem/item_common.lua @@ -1,6 +1,5 @@ if CLIENT then ART.DropItem = function(item) - local i = item print("Trying to drop item, Item was ") PrintTable(item) return function() @@ -46,8 +45,8 @@ else local row,col,n = ply:HasItem(gencompareto(item)) print("row",row,"col",col,"n",n) --To find out where to drop the item, go out from player's view, then down. - local pes = ply:GetPos()+Vector(0,0,64) - local pee = ply:GetForward()*50 + Vector(0,0,64) + ply:GetPos() + local pes = ply:GetPos() + Vector(0,0,64) + local pee = ply:GetForward() * 50 + Vector(0,0,64) + ply:GetPos() local tr1d = { ["start"] = pes, ["endpos"] = pee, -- cgit v1.2.3-70-g09d2