aboutsummaryrefslogtreecommitdiff
path: root/gamemode/core/combat/cl_weaponswing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/core/combat/cl_weaponswing.lua')
-rw-r--r--gamemode/core/combat/cl_weaponswing.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/gamemode/core/combat/cl_weaponswing.lua b/gamemode/core/combat/cl_weaponswing.lua
index 11557e5..ec5b954 100644
--- a/gamemode/core/combat/cl_weaponswing.lua
+++ b/gamemode/core/combat/cl_weaponswing.lua
@@ -1,5 +1,4 @@
local CLIENT_PAC_DIR = "artery/client/pacs"
-local itm = nrequire("item.lua")
local stt = nrequire("cl_state.lua")
local ball
function finddmgpoint(name)
@@ -65,13 +64,13 @@ net.Receive("artery_doanimation",function()
print("Doing animation:",animname,animtime,echoname)
who:SetupBones()
who:SetLuaAnimation(animname)
- stt.invopen=true
+ stt.invopen = true
timer.Simple(waittime,function()
tracking = true
end)
timer.Simple(animtime,function()
tracking = false
- stt.invopen=false
+ stt.invopen = false
print("Stopping animation",animname)
who:StopLuaAnimation(animname)
net.Start("artery_notifyserverofswing")