diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-24 20:32:34 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-08-24 20:32:34 -0400 |
| commit | 233e478e40d72a091f70f18dc6846066a4f52016 (patch) | |
| tree | cf34be714088889731736c81bd44e198c792625a /gamemode/itemsystem/item_common.lua | |
| parent | 61bc16dae5a1b61bcd237d9f0be36125829d95b1 (diff) | |
| download | artery-233e478e40d72a091f70f18dc6846066a4f52016.tar.gz artery-233e478e40d72a091f70f18dc6846066a4f52016.tar.bz2 artery-233e478e40d72a091f70f18dc6846066a4f52016.zip | |
Fix all linter warnings
Diffstat (limited to 'gamemode/itemsystem/item_common.lua')
| -rw-r--r-- | gamemode/itemsystem/item_common.lua | 5 |
1 files changed, 2 insertions, 3 deletions
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, |
