{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/364","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/364/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/364/events","html_url":"https://github.com/chrsmith/bwapi/issues/364","id":58519392,"number":364,"title":"Broodwar->canUpgrade(unit, type) problem","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/Milestone-Release","name":"Milestone-Release","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Critical","name":"Priority-Critical","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-22T21:17:52Z","updated_at":"2015-02-22T21:17:53Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. if (Broodwar->canUpgrade(unit, type))\n2. give me true if a unit can´t upgrade sometimes\n\nWhat is the expected output? I should get false\nWhat do you see instead? sometimes true\n\n\nWhat version of the product are you using? 1.16.1\nOn what operating system? Windows Vista\n\nPlease provide any additional information below.\n\nI am trying to upgrade EngineeringBay for terran\nand starting to push all my upgrades to a vector, total 6.\nAfter that I call Broodwar->canUpgrade(unit, type) at regular \ntimes. And even if I have not build a science building it give me \ntrue sometimes after I have upgraded to level 1.\n```\n\n-----\nOriginal issue reported on code.google.com by `jerry.ra...@gmail.com` on 16 Mar 2011 at 10:04"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75460222","html_url":"https://github.com/chrsmith/bwapi/issues/364#issuecomment-75460222","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/364","id":75460222,"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-22T21:17:53Z","updated_at":"2015-02-22T21:17:53Z","body":"```\nThis will be fixed shortly.\n```\n\n-----\nOriginal comment by `AHeinerm` on 16 Mar 2011 at 6:39\n* Changed state: **Started**\n* Added labels: **Type-Defect**, **Priority-Critical**, **Usability**, **Milestone-Release**"}}