Ver Fonte

Update optimization.md (#81)

Denis Shendrik há 5 anos atrás
pai
commit
88e37a19f4
1 ficheiros alterados com 1 adições e 1 exclusões
  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
 ```