Merge pull request #1607 from hellomouse/name-change-fix

Reset local player name on disconnect
This commit is contained in:
Anuken 2020-02-18 23:52:05 -05:00 committed by GitHub
commit 6317e0816a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;