forked from team-sg/hero-mark-2
commit of blade's bane
This commit is contained in:
parent
7c94312749
commit
133ee9a326
2 changed files with 5 additions and 1 deletions
|
@ -116,7 +116,7 @@ func _process_idle_walk():
|
|||
#Goto Jump
|
||||
check_jump()
|
||||
#Goto Sword
|
||||
if Input.is_action_just_pressed("sword"):
|
||||
if Debug.allow_sword && Input.is_action_just_pressed("sword"):
|
||||
Game.play_sound(Game.a_sword,Game.ac_jump)
|
||||
current_state = State.SWORD
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue