fixa lite i launchern

This commit is contained in:
Thefeli73 2020-10-07 06:03:43 +02:00
parent 3e20b79fa3
commit dc3e5c1544
2 changed files with 7 additions and 7 deletions

View File

@ -1,8 +1,8 @@
from game_layer import GameLayer
api_key = "74e3998d-ed3d-4d46-9ea8-6aab2efd8ae3"
game_layer = GameLayer(api_key)
state = game_layer.game_state
game_layer.force_end_game()
game_layer.force_end_game()
game_layer.force_end_game()
game_layer.force_end_game()
def clear_it():
game_layer.force_end_game()
game_layer.force_end_game()
game_layer.force_end_game()
game_layer.force_end_game()

View File

@ -1,7 +1,6 @@
import main
import time
import clearGames
from multiprocessing import Pool
import multiprocessing
proc_running = 4 # MAX 4!!!
@ -18,6 +17,7 @@ def launch(list):
if __name__ == '__main__':
clearGames.clear_it()
with Pool(proc_running) as p:
results = p.map(run_main, range(proc_running))
launch(results)