njustesen / botbowl

A Blood Bowl AI framework.
http://www.bot-bowl.com
Other
128 stars 49 forks source link

Agent switched between home and away team in web browser #109

Closed mrbermell closed 4 years ago

mrbermell commented 4 years ago

Pictures show me creating a game with Grodbot (Lizqrdmen) vs. Scripted (Dark Elf). But I end up with Scripted (Lizardmen) vs. Grodbot (Dark Elf).

Creating a game. 2020-05-10 19_50_55-FFAI_ Fantasy Football AI

What I end up with. 2020-05-10 19_51_59-FFAI_ Fantasy Football AI

mrbermell commented 4 years ago

I think I solved it. In the file ffai/web/api.py, on row 18 in function definition of new_game(..), switch order of the first and second argumen.

image

I can make a Pull request tonight.