Avoid yield-command crossover problems. Add .retain_instance ability for Command class for implementing state execution.

This commit is contained in:
Griatch 2021-08-06 15:59:48 +02:00
parent e8eb5f7586
commit 6e38d0ae4c
4 changed files with 17 additions and 2 deletions

View file

@ -76,6 +76,8 @@ Up requirements to Django 3.2+
pathfinding. Controlled outside of the game via custom evennia launcher command.
- `Script.delete` has new kwarg `stop_task=True`, that can be used to avoid
infinite recursion when wanting to set up Script to delete-on-stop.
- Command executions now done on copies to make sure `yield` don't cause crossovers. Add
`Command.retain_instance` flag for reusing the same command instance.
### Evennia 0.9.5 (2019-2020)