Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Fix game.py
Browse files Browse the repository at this point in the history
  • Loading branch information
matijakljajic committed Jan 23, 2023
1 parent 0270eaa commit 360d5a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions game.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

# basic func imports
import numpy
import pandas
Expand Down Expand Up @@ -124,7 +126,7 @@ def endcard(pygame, window, width, height, counterquestion, channel1, clock, opc
game(window, width, height, clock)
if posm[0] > 534 and posm[0] < 745 and posm[1] > 520 and posm[1] < 551:
pygame.quit()
exit()
sys.exit()

def game(window, width, height, clock):
# resource load
Expand Down Expand Up @@ -443,4 +445,4 @@ def game(window, width, height, clock):
cc = cc * 2 - (30 - counterclock)

if posm[0] > 1106 and posm[0] < 1106+143 and posm[1] > 12 and posm[1] < 12 + 24:
exit()
sys.exit()

0 comments on commit 360d5a3

Please sign in to comment.