summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2022-12-10 02:36:16 +0600
committerilotterytea <iltsu@alright.party>2022-12-10 02:36:16 +0600
commit7a3c11257ca11fcb040d81c9ec8613e2b40df293 (patch)
tree9e6b9cbbc2eb4cca571e48a21a02e62359f0069c
parent5c43ee86577fd7466d429a11bee8d6b39eaa08a1 (diff)
Set the computer user name by default
-rw-r--r--core/src/com/ilotterytea/maxoning/ui/SavegameInfo.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/com/ilotterytea/maxoning/ui/SavegameInfo.kt b/core/src/com/ilotterytea/maxoning/ui/SavegameInfo.kt
index e210ca8..2b8831f 100644
--- a/core/src/com/ilotterytea/maxoning/ui/SavegameInfo.kt
+++ b/core/src/com/ilotterytea/maxoning/ui/SavegameInfo.kt
@@ -92,7 +92,7 @@ class SavegameInfo(
val nameLabel = Label("Your name", skin)
content.add(nameLabel).width(246f).pad(4f)
// Label for points count:
- val nameField = TextField("test", skin)
+ val nameField = TextField(System.getProperty("user.name"), skin)
content.add(nameField).width(246f).pad(4f).row()