{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/160","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/160/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/160/events","html_url":"https://github.com/chrsmith/bwapi/issues/160","id":59189039,"number":160,"title":"SCV do not report status as Idle after is failed building","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/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-27T04:45:12Z","updated_at":"2015-02-27T04:45:13Z","closed_at":"2015-02-27T04:45:12Z","body":"```\nWhat steps will reproduce the problem?\n1. Command two SCVs to build a Refinery on the same vespene geyser.\n2. One of them will arrive first and begin building.\n3. The other will arrive, but won't be able to build.\n4. in onFrame() probe each SCV, (SVC.isIdle())\n5. The stopped SCV will not return true when isIdle() is called.\n\nWhat is the expected output? What do you see instead?\nThe second SCV should return isIdle() == true.\n\nCurrently, the SCV sits and waits, but isIdle() returns false\n\nWhat version of the product are you using? On what operating system?\nBeta 2.4, XP, VS 2008 C++ Express\n\n\nPlease provide any additional information below.\n\n```\n\nOriginal issue reported on code.google.com by `rustyhow...@gmail.com` on 5 Dec 2009 at 8:20"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/76330773","html_url":"https://github.com/chrsmith/bwapi/issues/160#issuecomment-76330773","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/160","id":76330773,"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-02-27T04:45:13Z","updated_at":"2015-02-27T04:45:13Z","body":"```\nWhen a worker is commanded to build a building, the command will succeed if \nthere are\nenough resources and the build site is valid. The resources are not deducted \nfrom the\nplayers supply until the actual construction begins. So there a few critical \nseconds\nwhere things could change to cause the building to fail and cause this bug to \nappear. \n  1) Change in resource supplies. Another unit was trained that took some of the\nresources.\n  2) Another unit has moved onto the build site. The unit could even be walking\nthrough the site to another location and the timing was just perfect(ly bad). \n```\n\nOriginal comment by `rustyhow...@gmail.com` on 11 Dec 2009 at 4:32"}}