Skip to content

Commit

Permalink
Manual merge from BitCrackers#568
Browse files Browse the repository at this point in the history
BitCrackers#568

Manually merging because github doesn't let me cherry pick on the website
  • Loading branch information
cpguy5089 authored Oct 14, 2023
1 parent 9e2a0ac commit 8e24cbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions user/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,12 @@ void RoleRates::SubtractRole(RoleTypes__Enum role) {

int GetMaxImposterAmount(int playerAmount)
{
if(playerAmount >= 9)
GameOptions options;
if (options.GetGameMode() == GameModes__Enum::HideNSeek)
return 1;
if (playerAmount >= 9)
return 3;
if(playerAmount >= 7)
if (playerAmount >= 7)
return 2;
return 1;
}
Expand Down

0 comments on commit 8e24cbd

Please sign in to comment.