소스 검색

Update optimization.md (#81)

Denis Shendrik 5 년 전
부모
커밋
88e37a19f4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/en/manuals/optimization.md

+ 1 - 1
docs/en/manuals/optimization.md

@@ -114,7 +114,7 @@ In all three cases the position of a game object with id `enemy` would be retrie
     end
 
     function update(self, dt)
-        local pos = go.get_position(enemy_url)
+        local pos = go.get_position(self.enemy_url)
         -- do something with pos
     end
 ```