瀏覽代碼

Merge pull request #2213 from soekmego/fixes

removed uneccesary comparator
Julian Murgia 6 年之前
父節點
當前提交
993ae789a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/3d/fps_tutorial/part_two.rst

+ 1 - 1
tutorials/3d/fps_tutorial/part_two.rst

@@ -89,7 +89,7 @@ Add the following code to ``AnimationPlayer_Manager.gd``:
             return true
 
 
-        if has_animation(animation_name) == true:
+        if has_animation(animation_name):
             if current_state != null:
                 var possible_animations = states[current_state]
                 if animation_name in possible_animations: