Browse Source

removing settings.dat refs

shuvit 5 years ago
parent
commit
9060c38dc6
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      Startup.py

+ 7
- 7
Startup.py View File

@@ -11,16 +11,16 @@ def main():
11 11
     scenes = bge.logic.getSceneList()
12 12
     #print(scenes)
13 13
 #-------
14
-    mainDir = GameLogic.expandPath("//")
15
-    fileName = mainDir + "Settings.dat" 
16
-    with open(fileName) as reading:
14
+    #mainDir = GameLogic.expandPath("//")
15
+    #fileName = mainDir + "Settings.dat" 
16
+    #with open(fileName) as reading:
17 17
             #data = [line.split()[0] for line in reading]
18
-            data = reading.readlines()
18
+            #data = reading.readlines()
19 19
             #print lines[25]
20 20
             #print lines[29]
21
-            reading.close() 
22
-    resx = int(data[7])
23
-    resy = int(data[8]) 
21
+            #reading.close() 
22
+    #resx = int(data[7])
23
+    #resy = int(data[8]) 
24 24
 
25 25
     #trick_string = dict.get('trick_string')                
26 26
 #    

Loading…
Cancel
Save