Doc: fix wrong naming in api.md example code

This commit is contained in:
black-sliver
2022-05-10 00:32:16 +02:00
committed by Fabian Dill
parent 19dd447dcb
commit a020dea277

View File

@@ -626,7 +626,7 @@ class MyGameWorld(World):
# ...
def set_rules(self):
set_rule(self.world.get_location("A Door", self.player),
lamda state: state._myworld_has_key(self.world, self.player))
lamda state: state._mygame_has_key(self.world, self.player))
```
### Generate Output