aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/animations/swing_fists.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-11-02 16:10:02 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2018-11-02 16:10:02 -0400
commit9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6 (patch)
tree75a879b12dd1d313b6e4290d4d559a716291a844 /gamemode/shared/animations/swing_fists.lua
parentf4ea4dc0bbc852c1e519be8435dbfcc5bc1e3834 (diff)
downloadartery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.tar.gz
artery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.tar.bz2
artery-9408c8cc53b99585b1cfb3c4fbf0a1f4df438bd6.zip
Use pac3's new animation library api
Pac3 modified it's animation library
Diffstat (limited to 'gamemode/shared/animations/swing_fists.lua')
-rw-r--r--gamemode/shared/animations/swing_fists.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/gamemode/shared/animations/swing_fists.lua b/gamemode/shared/animations/swing_fists.lua
index 8c0f106..f3da179 100644
--- a/gamemode/shared/animations/swing_fists.lua
+++ b/gamemode/shared/animations/swing_fists.lua
@@ -1,6 +1,6 @@
-nrequire("sh_animations.lua")
+local ani = nrequire("sh_animations.lua")
-RegisterLuaAnimation('fist_swing_up', {
+ani.RegisterAnimation('fist_swing_up', {
FrameData = {
{
BoneInfo = {
@@ -39,7 +39,7 @@ RegisterLuaAnimation('fist_swing_up', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('fist_swing_down', {
+ani.RegisterAnimation('fist_swing_down', {
FrameData = {
{
BoneInfo = {
@@ -120,7 +120,7 @@ RegisterLuaAnimation('fist_swing_down', {
Type = TYPE_GESTURE
})
-RegisterLuaAnimation('fist_swing_left', {
+ani.RegisterAnimation('fist_swing_left', {
FrameData = {
{
BoneInfo = {