From 2dd95855ec842c49dc20b51025f4768ddf1ce752 Mon Sep 17 00:00:00 2001 From: Rico040 <93081680+Rico040@users.noreply.github.com> Date: Thu, 7 Apr 2022 23:04:17 +0900 Subject: [PATCH] bruh how? --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 025463f..5f7a65f 100644 --- a/main.py +++ b/main.py @@ -174,7 +174,7 @@ def main(): # Main game function timertext = f'{end_time - start_time:.1f}' pr.draw_text_ex(font, timertext, pr.Vector2(152 - 4 * len(timertext), 10), 16, 0, color2) pr.draw_rectangle_lines(10, 80, 280, 300, color2) # Log box - if (end_time - start_time) == 5 and fade_out != 0: + if (end_time - start_time) > 5 and fade_out != 0: fade_out -= 5 # Check mouse is inside input box/button if pr.check_collision_point_rec(pr.get_mouse_position(), textbox):