clang-tidy
This commit is contained in:
@@ -421,7 +421,8 @@ auto playerIdToString(Player::Id player_id) -> std::string {
|
||||
auto stringToPlayerId(std::string name) -> Player::Id {
|
||||
if (name == Lang::getText("[SERVICE_MENU] PLAYER1")) {
|
||||
return Player::Id::PLAYER1;
|
||||
} else if (name == Lang::getText("[SERVICE_MENU] PLAYER2")) {
|
||||
}
|
||||
if (name == Lang::getText("[SERVICE_MENU] PLAYER2")) {
|
||||
return Player::Id::PLAYER2;
|
||||
} else {
|
||||
return Player::Id::NO_PLAYER;
|
||||
|
||||
Reference in New Issue
Block a user