Skip to content

Commit

Permalink
,
Browse files Browse the repository at this point in the history
  • Loading branch information
MunaAlaneme committed Oct 24, 2024
1 parent 75a31f3 commit 46639ca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import sys
import time
import os
import numpy as np
# import numpy as np UGLY!
import svg
import datetime
import pickle
Expand Down Expand Up @@ -552,7 +552,7 @@ def load_game():
score = Decimal(open('./save/gamesaveScore.txt', 'r').read())
for _ in range(len(Settings)):
file1 = open(f'./save/gamesaveSettings{_}.txt', 'r')
if (_ >= 0 and _ <= 1):
if (_ == 0 or _ == 1):
Settings[_]["value"] = Decimal(file1.read())
else:
Settings[_]["value"] = file1.read()
Expand Down
2 changes: 1 addition & 1 deletion save/gamesaveGameTimeStuff1.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1729470961.735036
1729727968.3991559
2 changes: 1 addition & 1 deletion save/gamesaveGameTimeStuff2.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1729470963.83853
1729727972.471817
2 changes: 1 addition & 1 deletion save/gamesaveScore.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.057586715462287885181069668
0E-142
2 changes: 1 addition & 1 deletion save/gamesaveSettings1.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
25
20.00127315521240234375

0 comments on commit 46639ca

Please sign in to comment.