Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit bd54969

Browse files
committed
Version 0.9.17
1 parent d026d70 commit bd54969

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aitk/robots/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
#
99
# *************************************
1010

11-
version_info = (0, 9, 16)
11+
version_info = (0, 9, 17)
1212
__version__ = ".".join(map(str, version_info))

aitk/robots/robot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def eat(self):
744744
for food in self.world._food[:]: # copy
745745
if distance(self.x, self.y, food[0], food[1]) <= self.eat_food_distance:
746746
success = True
747-
self.world._event("eat-food", self, food)
747+
self.world._event("eat-food", robot=self, food=food)
748748
return success
749749

750750
def speak(self, text=None):

0 commit comments

Comments
 (0)