Skip to content

Commit

Permalink
fix:fix the enchanted sword disappear
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed Jun 8, 2024
1 parent e0e9b47 commit ffbae0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/weapons/enchanted_sword.gd
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,9 @@ func rush(delta: float):


func _process(delta):
# FIXME:If you remove this show(),
# although there is not any hide(),the sword will disappear by random
show()
if !finished && now_func:
now_func.call(delta)
# else :
Expand Down

0 comments on commit ffbae0f

Please sign in to comment.