mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-07 07:03:44 -08:00
Return new state man (Vi's note: I have chosen not to change this title) (#5978)
This commit is contained in:
@@ -770,6 +770,7 @@ class MyGameState(LogicMixin):
|
||||
new_state.mygame_defeatable_enemies = {
|
||||
player: enemies.copy() for player, enemies in self.mygame_defeatable_enemies.items()
|
||||
}
|
||||
return new_state
|
||||
```
|
||||
|
||||
After doing this, you can now access `state.mygame_defeatable_enemies[player]` from your access rules.
|
||||
|
||||
Reference in New Issue
Block a user