diff --git a/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingView.swift b/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingView.swift index 319ba2c..a3bba55 100644 --- a/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingView.swift +++ b/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingView.swift @@ -161,7 +161,7 @@ struct PlayerRowView: View { VStack { TextField( - player.isHost ? "진행자" : "도전자\(player.turn)", + player.isHost ? "진행자" : "도전자\(player.turn - 1)", text: Binding( get: { player.nickname @@ -170,7 +170,7 @@ struct PlayerRowView: View { updateNickname(index, newValue) } ), - prompt: Text(isFocused ? "" : (player.isHost ? "진행자" : "도전자\(player.turn)")) + prompt: Text(isFocused ? "" : (player.isHost ? "진행자" : "도전자\(player.turn - 1)")) .foregroundStyle(Color.ppWhiteGray) ) .foregroundStyle(.white) diff --git a/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingViewModel.swift b/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingViewModel.swift index 663dfef..b60a9aa 100644 --- a/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingViewModel.swift +++ b/PepperoniV2/Presentation/GameSetting/PlayerSetting/PlayerSettingViewModel.swift @@ -47,7 +47,7 @@ import SwiftUI if player.isHost { tempPlayers[index].nickname = "진행자" } else { - tempPlayers[index].nickname = "참가자\(player.turn)" + tempPlayers[index].nickname = "참가자\(player.turn - 1)" } } }