{"action":"created","issue":{"url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern/issues/154","repository_url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern","labels_url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern/issues/154/comments","events_url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern/issues/154/events","html_url":"https://github.com/ScreepsGamers/screeps.behaviour-action-pattern/issues/154","id":176485187,"number":154,"title":"TypeError: this.memory.sources.forEach is not a function","user":{"login":"torin555","id":2602862,"avatar_url":"https://avatars.githubusercontent.com/u/2602862?v=3","gravatar_id":"","url":"https://api.github.com/users/torin555","html_url":"https://github.com/torin555","followers_url":"https://api.github.com/users/torin555/followers","following_url":"https://api.github.com/users/torin555/following{/other_user}","gists_url":"https://api.github.com/users/torin555/gists{/gist_id}","starred_url":"https://api.github.com/users/torin555/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torin555/subscriptions","organizations_url":"https://api.github.com/users/torin555/orgs","repos_url":"https://api.github.com/users/torin555/repos","events_url":"https://api.github.com/users/torin555/events{/privacy}","received_events_url":"https://api.github.com/users/torin555/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-09-12T21:08:11Z","updated_at":"2016-09-12T21:46:06Z","closed_at":null,"body":"Getting this error when cloning a fresh copy directly from dev:\r\n```\r\nroom:16\r\n                        this.memory.sources.forEach(addSource);\r\n                                            ^\r\nTypeError: this.memory.sources.forEach is not a function\r\n    at Room.Object.defineProperties.sources.get (room:16:45)\r\n    at Room.Object.defineProperties.sourceEnergyAvailable.get (room:40:39)\r\n    at action.isValidAction (creep.action.harvesting:22:15)\r\n    at validateActionTarget (creep.Action:141:18)\r\n    at entry (population:211:43)\r\n    at baseForOwn (/opt/engine/node_modules/lodash/index.js:2046:14)\r\n    at Function.<anonymous> (/opt/engine/node_modules/lodash/index.js:3346:13)\r\n```"},"comment":{"url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern/issues/comments/246504806","html_url":"https://github.com/ScreepsGamers/screeps.behaviour-action-pattern/issues/154#issuecomment-246504806","issue_url":"https://api.github.com/repos/ScreepsGamers/screeps.behaviour-action-pattern/issues/154","id":246504806,"user":{"login":"cyberblast","id":20269868,"avatar_url":"https://avatars.githubusercontent.com/u/20269868?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberblast","html_url":"https://github.com/cyberblast","followers_url":"https://api.github.com/users/cyberblast/followers","following_url":"https://api.github.com/users/cyberblast/following{/other_user}","gists_url":"https://api.github.com/users/cyberblast/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberblast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberblast/subscriptions","organizations_url":"https://api.github.com/users/cyberblast/orgs","repos_url":"https://api.github.com/users/cyberblast/repos","events_url":"https://api.github.com/users/cyberblast/events{/privacy}","received_events_url":"https://api.github.com/users/cyberblast/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T21:46:06Z","updated_at":"2016-09-12T21:46:06Z","body":"> development includes errors..."}}
{"actor":{"display_login":"cyberblast"}}