From 378a5d52392825d9e28a51907039e0fe35b6dbd1 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 18 Feb 2020 12:40:53 -0500 Subject: [PATCH 1/2] Removed bloom on iOS --- core/src/mindustry/ui/dialogs/SettingsMenuDialog.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java b/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java index 2b4e336d67..af4f6db807 100644 --- a/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java +++ b/core/src/mindustry/ui/dialogs/SettingsMenuDialog.java @@ -330,7 +330,12 @@ public class SettingsMenuDialog extends SettingsDialog{ if(Shaders.shield != null){ graphics.checkPref("animatedshields", !mobile); } - graphics.checkPref("bloom", !mobile, val -> renderer.toggleBloom(val)); + if(!ios){ + graphics.checkPref("bloom", !mobile, val -> renderer.toggleBloom(val)); + }else{ + Core.settings.put("bloom", false); + } + graphics.checkPref("pixelate", false, val -> { if(val){ Events.fire(Trigger.enablePixelation); From b3e9e12279c8f8fee92318aeaf6306b984762d39 Mon Sep 17 00:00:00 2001 From: iczero Date: Tue, 18 Feb 2020 21:52:42 -0500 Subject: [PATCH 2/2] 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;