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

Fix infinite loop condition when bot encountered
This commit is contained in:
oddx2k 2024-09-13 12:20:55 -05:00 committed by GitHub
parent a7550fbd9e
commit 52dcf35425
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,6 +287,7 @@ void Adventure::Finished(AdventureWinStatus ws)
auto character_id = database.GetCharacterID(*iter);
if (character_id == 0) {
++iter;
continue;
}