Delay in triggering first on_step call when realtime=True
Hello. As in the title, on_step does get trigger for me until the 11th second in game time. This does not happen when realtime=False. I've emptied out the on_step method with just a print statement to remove any potential computer lag with the same result.
Yes, I have the same, but the interval is random. Sometimes a few seconds, sometimes even a whole minute...
Same here. It takes a few seconds before it runs if realtime=True
This seems to be caused by VSCode. A couple of users on discord have seen this issue cleared when running on the console outside of VSCode.
What is VSCode? I'm running via command line.
On Wed, Aug 8, 2018, 13:10 Daniel Muñoz [email protected] wrote:
This seems to be caused by VSCode. A couple of users on discord have seen this issue cleared when running on the console outside of VSCode.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Dentosal/python-sc2/issues/85#issuecomment-411370291, or mute the thread https://github.com/notifications/unsubscribe-auth/AIqAll7mA2krrBwXRy8mEeu02gp11kl1ks5uOscsgaJpZM4VSI-M .
Visual Studio Code is a popular IDE. You can run from their embedded command line. It seems a subset of this ticket's issue involves this IDE and using their terminal.
I have the same issue and its from running the program in pycharm.