From febcd849955561f6757344b973f7ab3fd0583a6c Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:24:00 +0100 Subject: [PATCH] Update docs/world api.md Co-authored-by: Scipio Wright --- docs/world api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/world api.md b/docs/world api.md index 0b3d675788..d28844da41 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -732,8 +732,8 @@ class MyGameState(LogicMixin): After doing this, you can now access `state.mygame_defeatable_enemies[player]` from your access rules. -Usually, doing this coincides with an override of `World.collect` and `World.remove`, where any time a relevant item is -collected or removed, the custom state variable gets recalculated. +Usually, doing this coincides with an override of `World.collect` and `World.remove`, where the custom state variable +gets recalculated when a relevant item is collected or removed. ```python # __init__.py