Merge pull request 'fix(levels): time is not defined' (#5) from n3tael/p3he:main into main
Reviewed-on: #5
This commit is contained in:
commit
371491a607
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user