aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/combat
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-08-17 16:32:46 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-08-17 16:32:46 -0400
commitfcffbc1ff27a7cb28bab85b223be7060c481bf8b (patch)
tree782ce6b23030cba37f75b991676382976eb0fda2 /gamemode/core/combat
parent500329e73f7bc9ba73cf63036d3283f081281ed4 (diff)
downloadartery-fcffbc1ff27a7cb28bab85b223be7060c481bf8b.tar.gz
artery-fcffbc1ff27a7cb28bab85b223be7060c481bf8b.tar.bz2
artery-fcffbc1ff27a7cb28bab85b223be7060c481bf8b.zip
Fixed a bug from the last commit
Diffstat (limited to 'gamemode/core/combat')
-rw-r--r--gamemode/core/combat/sv_weaponswing.lua2
1 files changed, 1 insertions, 1 deletions
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)