Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Commit

Permalink
bruh how?
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico040 committed Apr 7, 2022
1 parent e3e8a89 commit 2dd9585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2dd9585

Please sign in to comment.