TheXeos commited on
Commit
fe8defd
1 Parent(s): ba7d1ad

Try to launch the full process

Browse files
Files changed (1) hide show
  1. background_task.py +2 -1
background_task.py CHANGED
@@ -159,7 +159,8 @@ def match(model1, model2):
159
  """
160
  model1_id = model1.author + "/" + model1.name
161
  model2_id = model2.author + "/" + model2.name
162
- subprocess.run(["UnityEnvironment.exe", "-model1", model1_id, "-model2", model2_id])
 
163
  model1.games_played += 1
164
  model2.games_played += 1
165
 
 
159
  """
160
  model1_id = model1.author + "/" + model1.name
161
  model2_id = model2.author + "/" + model2.name
162
+ subprocess.run(["./SoccerTows.x86_64", "-model1", model1_id, "-model2", model2_id])
163
+ print(f"Match {model1_id} against {model2_id} ended.")
164
  model1.games_played += 1
165
  model2.games_played += 1
166