From fad29a67b22ffc1a90f453dc03c91fe9ba891de0 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 12 九月 2018 17:40:23 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 Fight/Actor/UserInputHandler.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Fight/Actor/UserInputHandler.cs b/Fight/Actor/UserInputHandler.cs
index d61e713..e16184a 100644
--- a/Fight/Actor/UserInputHandler.cs
+++ b/Fight/Actor/UserInputHandler.cs
@@ -57,7 +57,7 @@
         float KeyVertical = Input.GetAxis("Vertical");
         float KeyHorizontal = Input.GetAxis("Horizontal");
 
-        if (Input.GetKey(KeyCode.J))
+        if (Input.GetKeyUp(KeyCode.J))
         {
             _hero.ComAtk();
         }

--
Gitblit v1.8.0