From b3e9e12279c8f8fee92318aeaf6306b984762d39 Mon Sep 17 00:00:00 2001 From: iczero Date: Tue, 18 Feb 2020 21:52:42 -0500 Subject: [PATCH] Reset local player name on disconnect --- core/src/mindustry/core/NetClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/core/NetClient.java b/core/src/mindustry/core/NetClient.java index 0a15536cc4..c483e8cb26 100644 --- a/core/src/mindustry/core/NetClient.java +++ b/core/src/mindustry/core/NetClient.java @@ -102,6 +102,7 @@ public class NetClient implements ApplicationListener{ state.set(State.menu); logic.reset(); platform.updateRPC(); + player.name = Core.settings.getString("name"); if(quiet) return;