Skip to content

Commit

Permalink
fix warning message on last to resign
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Jan 17, 2025
1 parent ea98fb5 commit 8cfd6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GWToolboxdll/Modules/ResignLogModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ namespace {
if (GetResignStatus(player.login_number) != Status::Resigned)
not_resigned++;
}
if (not_resigned == 0) {
if (not_resigned <= 1) { // one of the players who hasn't resigned is us
Log::Warning("You're the only player left to resign. Type /resign in chat to resign.");
}
}
Expand Down

0 comments on commit 8cfd6a8

Please sign in to comment.