[Bots] Enable auto-saving of bots. (#3758)

Adds the rule **Bots, AutosaveIntervalSeconds** to control the frequency of the autosave of bots. Currently they only fully save on camp/zone.

Co-authored-by: Alex King <89047260+Kinglykrab@users.noreply.github.com>
This commit is contained in:
nytmyr
2023-12-12 21:22:44 -06:00
committed by GitHub
parent 940abfaf7a
commit df83113cea
3 changed files with 14 additions and 0 deletions
+1
View File
@@ -866,6 +866,7 @@ private:
Timer m_evade_timer; // can be moved to pTimers at some point
Timer m_alt_combat_hate_timer;
Timer m_auto_defend_timer;
Timer auto_save_timer;
bool m_dirtyautohaters;
bool m_guard_flag;
bool m_hold_flag;