Some defensive handling of backup state, especially related to stats forwards/events.
Fixed a problem that would cause the veto system to be skipped.
Use {TIME} in default demo name, which now prevents demo collisions when doing restores.
Restart recording when loading a backup file (except when using !stop)
Put demo filename in stats KV as soon as the file starts recording; not when the map ends.
Adjusted when grenade cleanup runs.
Adjusted some comments.
Add a utility function to check for pending map change, pending backup or backup restore state.
Some defensive handling of backup state, especially related to stats forwards/events. Fixed a problem that would cause the veto system to be skipped. Use
{TIME}
in default demo name, which now prevents demo collisions when doing restores. Restart recording when loading a backup file (except when using !stop) Put demo filename in stats KV as soon as the file starts recording; not when the map ends. Adjusted when grenade cleanup runs. Adjusted some comments. Add a utility function to check for pending map change, pending backup or backup restore state.