Mods
This commit is contained in:
parent
d1bd618d70
commit
b803feedc6
|
@ -367,6 +367,7 @@ class Game:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def start_loop() -> None:
|
def start_loop() -> None:
|
||||||
|
Game.started = True
|
||||||
Game.timer.stop()
|
Game.timer.stop()
|
||||||
speed = Settings.speed
|
speed = Settings.speed
|
||||||
|
|
||||||
|
@ -454,6 +455,7 @@ class Game:
|
||||||
|
|
||||||
size = int(data["size"].split(" ")[0])
|
size = int(data["size"].split(" ")[0])
|
||||||
|
|
||||||
|
Game.started = False
|
||||||
Window.clear_view()
|
Window.clear_view()
|
||||||
Ants.populate(size)
|
Ants.populate(size)
|
||||||
Window.to_top()
|
Window.to_top()
|
||||||
|
|
|
@ -48,7 +48,6 @@ def main() -> None:
|
||||||
Filter.prepare()
|
Filter.prepare()
|
||||||
Game.prepare()
|
Game.prepare()
|
||||||
Game.start_loop()
|
Game.start_loop()
|
||||||
Game.started = True
|
|
||||||
Window.start()
|
Window.start()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "3.3.0",
|
"version": "3.4.0",
|
||||||
"title": "Cromulant",
|
"title": "Cromulant",
|
||||||
"program": "cromulant",
|
"program": "cromulant",
|
||||||
"author": "madprops",
|
"author": "madprops",
|
||||||
|
|
Loading…
Reference in New Issue