Events/reset
< Events
Jump to navigation
Jump to search
The reset event is called whenever the bot needs to clear its game state. You should wipe any state tracking variables you may have in your module back to a clean state as part of this event handler.
Event callback
def on_reset(event: Event, var: module) -> None
- prevent_default has no effect for this event
event
: The event objectvar
: Reference to the src.settings module
Event data
None