From fcffbc1ff27a7cb28bab85b223be7060c481bf8b Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Thu, 17 Aug 2017 16:32:46 -0400 Subject: Fixed a bug from the last commit --- gamemode/core/combat/sv_weaponswing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/core/combat') diff --git a/gamemode/core/combat/sv_weaponswing.lua b/gamemode/core/combat/sv_weaponswing.lua index 059d1d4..0b37c0a 100644 --- a/gamemode/core/combat/sv_weaponswing.lua +++ b/gamemode/core/combat/sv_weaponswing.lua @@ -83,7 +83,7 @@ function ws.doSwing(weapon,ply,callback) hitthings[#hitthings + 1] = tr.Entity end end - for k,v in hitthings do + for k,v in pairs(hitthings) do callback(v) end end) -- cgit v1.2.3-70-g09d2