diff --git a/desktop/src/mindustry/desktop/DesktopLauncher.java b/desktop/src/mindustry/desktop/DesktopLauncher.java index 52d2d3cb69..99120a74df 100644 --- a/desktop/src/mindustry/desktop/DesktopLauncher.java +++ b/desktop/src/mindustry/desktop/DesktopLauncher.java @@ -125,9 +125,11 @@ public class DesktopLauncher extends ClientLauncher{ boolean[] isShutdown = {false}; Events.on(ClientLoadEvent.class, event -> { - player.name(SVars.net.friends.getPersonaName()); Core.settings.defaults("name", SVars.net.friends.getPersonaName()); - Core.settings.put("name", player.name); + if(player.name.isEmpty()){ + player.name = SVars.net.friends.getPersonaName(); + Core.settings.put("name", player.name); + } //update callbacks Core.app.addListener(new ApplicationListener(){ @Override