Add stop_task kwarg to help Script delete-on-stop. Resolve #2455.

This commit is contained in:
Griatch 2021-08-03 22:15:41 +02:00
parent a504c1a143
commit ecd4307a87
2 changed files with 13 additions and 3 deletions

View file

@ -74,6 +74,8 @@ Up requirements to Django 3.2+
accepting `*args`, as `settings.EXTRA_LAUNCHER_COMMANDS = {'mycmd': 'path.to.callable', ...}`.
- New `XYZGrid` contrib, adding x,y,z grid coordinates with in-game map and
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.
### Evennia 0.9.5 (2019-2020)