فهرست منبع

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
 ```