From 7a3c11257ca11fcb040d81c9ec8613e2b40df293 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 10 Dec 2022 02:36:16 +0600 Subject: Set the computer user name by default --- core/src/com/ilotterytea/maxoning/ui/SavegameInfo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/com/ilotterytea') 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() -- cgit v1.2.3