From e36b5f13005929e4c11df447999c9deb8500e4b4 Mon Sep 17 00:00:00 2001 From: Astoria Date: Fri, 12 Apr 2024 15:33:56 -0500 Subject: [PATCH] Stop pausing during guis --- .../java/net/brokenmoon/redcontrol/screen/CpuScreen.java | 5 +++++ .../java/net/brokenmoon/redcontrol/screen/MonitorScreen.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/client/java/net/brokenmoon/redcontrol/screen/CpuScreen.java b/src/client/java/net/brokenmoon/redcontrol/screen/CpuScreen.java index a1e88a4..db740f2 100644 --- a/src/client/java/net/brokenmoon/redcontrol/screen/CpuScreen.java +++ b/src/client/java/net/brokenmoon/redcontrol/screen/CpuScreen.java @@ -75,4 +75,9 @@ public class CpuScreen extends Screen { context.drawTexture(cpuTexture,x,y,0,0,176,166); context.drawTexture(poweredButton, x + 27, y + 6 + buttonPos, 0, 0, 4, 4); } + + @Override + public boolean shouldPause() { + return false; + } } diff --git a/src/client/java/net/brokenmoon/redcontrol/screen/MonitorScreen.java b/src/client/java/net/brokenmoon/redcontrol/screen/MonitorScreen.java index 03fe270..8f764a6 100644 --- a/src/client/java/net/brokenmoon/redcontrol/screen/MonitorScreen.java +++ b/src/client/java/net/brokenmoon/redcontrol/screen/MonitorScreen.java @@ -23,4 +23,9 @@ public class MonitorScreen extends Screen { super.render(context, mouseX, mouseY, delta); context.drawTexture(screenTexture,0,0,0,0,350,230); } + + @Override + public boolean shouldPause() { + return false; + } }