From ef58615f42cb76d116ae634204ffcacb6e38eba2 Mon Sep 17 00:00:00 2001
From: Hanicef <gustaf@hanicef.me>
Date: Fri, 9 Aug 2024 22:24:00 +0200
Subject: [PATCH] Fix input panel overdrawing the scoreboard

---
 src/st_stuff.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/st_stuff.c b/src/st_stuff.c
index e088a448c1..9f1fb6d88c 100644
--- a/src/st_stuff.c
+++ b/src/st_stuff.c
@@ -1042,6 +1042,9 @@ static void ST_drawInput(void)
 
 	INT32 x = hudinfo[HUD_INPUT].x, y = hudinfo[HUD_INPUT].y;
 
+	if (hu_showscores)
+		return;
+
 	if (stplyr->powers[pw_carry] == CR_NIGHTSMODE)
 		y += 8;
 	else if (modeattacking || !LUA_HudEnabled(hud_lives))
-- 
GitLab