Explorar o código

Update optimization.md (#81)

Denis Shendrik %!s(int64=5) %!d(string=hai) anos
pai
achega
88e37a19f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 ```