{"action":"created","issue":{"url":"https://api.github.com/repos/jasonhall/bwapi/issues/339","labels_url":"https://api.github.com/repos/jasonhall/bwapi/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/jasonhall/bwapi/issues/339/comments","events_url":"https://api.github.com/repos/jasonhall/bwapi/issues/339/events","html_url":"https://github.com/jasonhall/bwapi/issues/339","id":59427382,"number":339,"title":"Won't autorestart with no GUI","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jasonhall/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/jasonhall/bwapi/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/jasonhall/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"},{"url":"https://api.github.com/repos/jasonhall/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T00:58:12Z","updated_at":"2015-03-02T00:58:13Z","closed_at":"2015-03-02T00:58:12Z","body":"```\nWhat steps will reproduce the problem?\n1. Create a UMS map Red (Human) vs Blue (Computer), whereby units owned by both \nplayers are automatically ordered to fight in the middle of the map. If created \nproperly, it will always end in either victory or defeat after a while.\n\n2. In bwapi.ini, set the map, and set it to auto restart.\n\n3. Create a custom AI module which only sets the local speed to 0 and disables \nthe GUI.\n\nWhat is the expected output? What do you see instead?\n\nThe map should autorestart indefinitely. However, when the GUI is disabled, the \nscore screen will not appear automatically at the end of the scenario. What \nhappens is that the Victory/Defeat popup that appears at the end of the \nscenario does not get \"pressed\". While I am unable to see the popup due to no \ngui, by pressing Enter I can invoke it to go to score screen and continue.\n\nThis does not happen when the GUI is enabled.\n\nWhat version of the product are you using? On what operating system?\nBWAPI 3.4 (RELEASE), ChaosLauncher 0.5.3, SC 1.6.1\n\nPlease provide any additional information below.\n\n```\n\nOriginal issue reported on code.google.com by `nasr...@gmail.com` on 7 Jan 2011 at 2:16"},"comment":{"url":"https://api.github.com/repos/jasonhall/bwapi/issues/comments/76644141","html_url":"https://github.com/jasonhall/bwapi/issues/339#issuecomment-76644141","issue_url":"https://api.github.com/repos/jasonhall/bwapi/issues/339","id":76644141,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T00:58:12Z","updated_at":"2015-03-02T00:58:12Z","body":"```\nAs a workaround, try using Game::setFrameSkip. \nhttp://code.google.com/p/bwapi/wiki/Game#setFrameSkip\n```\n\nOriginal comment by `AHeinerm` on 18 Jan 2011 at 3:48"}}