소스 검색

Fixed a not needed ';' in GDScript sample code (#4713)

ck90works 4 년 전
부모
커밋
d537782e04
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      getting_started/step_by_step/your_first_game.rst

+ 1 - 1
getting_started/step_by_step/your_first_game.rst

@@ -864,7 +864,7 @@ Note that a new instance must be added to the scene using ``add_child()``.
 
     func _on_MobTimer_timeout():
         # Choose a random location on Path2D.
-        var mob_spawn_location = get_node("MobPath/MobSpawnLocation");
+        var mob_spawn_location = get_node("MobPath/MobSpawnLocation")
         mob_spawn_location.offset = randi()
 
         # Create a Mob instance and add it to the scene.