mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Doc: fix wrong naming in api.md example code
This commit is contained in:

committed by
Fabian Dill

parent
19dd447dcb
commit
a020dea277
@@ -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
|
||||
|
Reference in New Issue
Block a user