32-bit messages cleaned up

This commit is contained in:
Anuken
2026-02-16 11:43:36 -05:00
parent 550bc0c311
commit 1ae0f6171b
3 changed files with 0 additions and 15 deletions

View File

@@ -77,15 +77,6 @@ public class Control implements ApplicationListener, Loadable{
});
}
checkAutoUnlocks();
if((OS.isWindows && !OS.is64Bit && !Core.settings.getBool("nowarn32bit", false))){
BaseDialog dialog = new BaseDialog("@warn.32bit.title");
dialog.buttons.button("@ok", dialog::hide).size(120f, 64f);
dialog.cont.add("@warn.32bit").labelAlign(Align.center, Align.center).wrap().grow().row();
dialog.cont.check("@dontshowagain", val -> Core.settings.put("nowarn32bit", val));
dialog.show();
}
});
Events.on(StateChangeEvent.class, event -> {

View File

@@ -36,7 +36,6 @@ public class Net{
private final ObjectMap<Class<?>, Cons2<NetConnection, Object>> serverListeners = new ObjectMap<>();
private final IntMap<StreamBuilder> streams = new IntMap<>();
private final ExecutorService pingExecutor =
OS.isWindows && !OS.is64Bit ? Threads.boundedExecutor("Ping Servers", 5) : //on 32-bit windows, thread spam crashes
OS.isIos ? Threads.boundedExecutor("Ping Servers", 32) : //on IOS, 256 threads can crash, so limit the amount
Threads.unboundedExecutor();