Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_next_expansion() fails when multiple games are run from one script #129

Open
b2coutts opened this issue Sep 2, 2018 · 0 comments
Open
Labels

Comments

@b2coutts
Copy link

b2coutts commented Sep 2, 2018

This can be reproduced by looking at the threebase_voidray.py example, and adding a second call to run_game with a different map. On the second map, calls to get_next_expansion() will produce an arbitrary location. It appears that some state is persisting from the old game; when I look at the expansion itself, the tags of the resources are from the first game (and don't match any resource patches in the current game).

This also occurs when re-running a script with a single run_game call from ipython

@BurnySc2 BurnySc2 added the bug label Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants