fix(levels): time is not defined

This commit is contained in:
n3tael 2024-04-04 22:12:08 +03:00
parent 2f562e051f
commit 1e18630c44
Signed by: n3tael
GPG Key ID: F305925762F035A8

View File

@ -1,4 +1,6 @@
from os import makedirs from os import makedirs
from time import time
class Segment: class Segment:
def __init__(self,bA,cA,cB,trColor): def __init__(self,bA,cA,cB,trColor):
self.isFinite = bA self.isFinite = bA
@ -47,7 +49,7 @@ def save_level(level):
def open_level(path): def open_level(path):
save = open(path, "r") save = open(path, "r")
r = save.read() r = save.read()
save.close() save.close()
return r return r