{"comment":{"url":"https://api.github.com/repos/ensingm2/SteamMonsterGameScript/comments/11669873","html_url":"https://github.com/ensingm2/SteamMonsterGameScript/commit/fc285f71375d1f034ca614ec19e716c0f78eb35c#commitcomment-11669873","id":11669873,"user":{"login":"BreadMonster","id":12878428,"avatar_url":"https://avatars.githubusercontent.com/u/12878428?v=3","gravatar_id":"","url":"https://api.github.com/users/BreadMonster","html_url":"https://github.com/BreadMonster","followers_url":"https://api.github.com/users/BreadMonster/followers","following_url":"https://api.github.com/users/BreadMonster/following{/other_user}","gists_url":"https://api.github.com/users/BreadMonster/gists{/gist_id}","starred_url":"https://api.github.com/users/BreadMonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BreadMonster/subscriptions","organizations_url":"https://api.github.com/users/BreadMonster/orgs","repos_url":"https://api.github.com/users/BreadMonster/repos","events_url":"https://api.github.com/users/BreadMonster/events{/privacy}","received_events_url":"https://api.github.com/users/BreadMonster/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"fc285f71375d1f034ca614ec19e716c0f78eb35c","created_at":"2015-06-14T13:06:33Z","updated_at":"2015-06-14T13:06:33Z","body":"GetEnemy returns false if it fails so the comparison to undefined before that check was always passing. As far as I can tell that null check was only needed because of that."}}