[Bug Fix] Fix Infinite Loop in Adventure::Finished() (#4473)

Fix infinite loop condition when bot encountered
This commit is contained in:
oddx2k authored and GitHub committed 2024-09-13 13:20:55 -04:00
1 parent a7550fbd9e
commit 52dcf35425
1 file changed
+1
+1
View File
@@ -287,6 +287,7 @@ void Adventure::Finished(AdventureWinStatus ws)
auto character_id = database.GetCharacterID(*iter);
if (character_id == 0) {
++iter;
continue;
}