We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad6b3c9 commit b17fea6Copy full SHA for b17fea6
internal/states/character_naming.go
@@ -139,7 +139,7 @@ func (st *CharacterNamingState) initUI(world w.World) *ebitenui.UI {
139
widget.TextInputOpts.Placeholder("名前"),
140
)
141
142
- // 既存プレイヤーの名前を初期値として設定
+ // 既存プレイヤーの名前を初期値として設定する。プレイヤーが存在しない場合は空欄のまま
143
playerEntity, err := worldhelper.GetPlayerEntity(world)
144
if err == nil {
145
if nameComp := world.Components.Name.Get(playerEntity); nameComp != nil {
0 commit comments