{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/136","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/136/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/136/events","html_url":"https://github.com/chrsmith/bwapi/issues/136","id":58820641,"number":136,"title":"Game::getMinerals() returns opponents mineral fields","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"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T23:01:45Z","updated_at":"2015-02-24T23:01:45Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. Ensure that complete map information is OFF\n2. Call Broodwar->getMinerals()\n\nWhat is the expected output? What do you see instead?\n\nI expect a set< Unit * > of all my visible minerals. \nInstead, I get a set of my opponents (invisible to me) minerals.\n\nWhat version of the product are you using? On what operating system?\n\nbwapi beta 2.3 / WinXP running under Parallels 4, on OS X 10.6\n\nPlease provide any additional information below.\n\nIf I use Broodwar->getAllUnits(), and filter for units with \nUnitTypes::Resource_Mineral_Field, then I get my own visible minerals, as \nexpected.\n```\n\n-----\nOriginal issue reported on code.google.com by `jaba.ad...@gmail.com` on 24 Nov 2009 at 4:21"}}