{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/196","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/196/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/196/events","html_url":"https://github.com/chrsmith/bwapi/issues/196","id":58481993,"number":196,"title":"High apm, when there are no selected units","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/Performance","name":"Performance","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-22T00:17:14Z","updated_at":"2015-02-22T00:17:15Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\nWhen a BWAPI game is started and there is no units selected, my (my AI's)\nAPM is near 1400. This means 1 action per frame. But when I select\nsomething, the APM falls to normal values (depending on that, what is the\nAI doing). When the selected unit dies/goes out of vision (if enemy) APM\ngoes high again. Another effect of this is, when there is nothing selected\nand a building rally position is set at this time, the rally position\ndoesn't work.\nI turned all BWAPI functions (including map analyzer, read map), but this\nactions again exist. It's not so big problem, but every time i need to\nselect something, in order to see the actual AI's APM.\n\nWhat version of the product are you using? On what operating system?\n\nBWAPI_Beta_2.6.1 on Windows XP\n\nPlease provide any additional information below.\n\nWhen I open the replay with BWChart, i see actions \"Deselect\" with\nparameter \"lost vision on selected unit\". It's 1 action every frame. And\nthey exist there, where no units are selected through the GUI.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `Nuclear...@gmail.com` on 15 Feb 2010 at 9:25"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75404244","html_url":"https://github.com/chrsmith/bwapi/issues/196#issuecomment-75404244","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/196","id":75404244,"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-22T00:17:15Z","updated_at":"2015-02-22T00:17:15Z","body":"```\n[deleted comment]\n```"}}