From 4b3a79cb1505470f008ec0fb3d2a9343c00a2d4f Mon Sep 17 00:00:00 2001
From: andyh98 <hameea1@mcmaster.ca>
Date: Fri, 9 Nov 2018 16:52:23 -0500
Subject: [PATCH] File associations fixed

---
 BlankProjectTemplate/src/Interface.py | 3 ++-
 BlankProjectTemplate/src/highscore.py | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/BlankProjectTemplate/src/Interface.py b/BlankProjectTemplate/src/Interface.py
index d1e9e51..546aa50 100644
--- a/BlankProjectTemplate/src/Interface.py
+++ b/BlankProjectTemplate/src/Interface.py
@@ -1,6 +1,7 @@
 #importing necessary libraries
 import pygame, sys
 import highscore
+
 class GUI():
   #a function made to execute other files from the system
   def runfile(runfilename):
@@ -36,7 +37,7 @@ def main():
           GUI.button(game,darkgray, [270,455,250,50], 0)
           #checking if the button is clicked
           if mouseclick[0] == 1:
-              GUI.runfile('Snake_2.o_Demo.py')        
+              GUI.runfile('Gameplay.py')        
       else:
           GUI.button(game,gray, [270,455,250,50], 0)
       GUI.text('GAME TIME',"comicsansms", 40,[0, 0, 200],(275,450),game)
diff --git a/BlankProjectTemplate/src/highscore.py b/BlankProjectTemplate/src/highscore.py
index 8eef23b..0a784db 100644
--- a/BlankProjectTemplate/src/highscore.py
+++ b/BlankProjectTemplate/src/highscore.py
@@ -1,5 +1,5 @@
 import pygame, sys
-import Snake_Game
+import Interface
 
 class HighScore():
   def runfile(runfilename):
-- 
GitLab