{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/165236218","pull_request_review_id":93141007,"id":165236218,"diff_hunk":"@@ -289,33 +291,34 @@ Possible to do for anyone motivated enough:\n \tThis may change in the future but for now will suffice.*/\r\n \tif(user.eyeobj.loc != src.loc)//Set client eye on the object if it's not already.\r\n \t\tuser.eyeobj.setLoc(get_turf(src))\r\n-\telse if(!masters[user])//If there is no hologram, possibly make one.\r\n+\telse if(!LAZYLEN(masters) || !masters[user])//If there is no hologram, possibly make one.\r\n \t\tactivate_holo(user)\r\n \telse//If there is a hologram, remove it.\r\n \t\tclear_holo(user)\r\n \r\n /obj/machinery/holopad/process()\r\n-\tfor(var/I in masters)\r\n-\t\tvar/mob/living/master = I\r\n-\t\tvar/mob/living/silicon/ai/AI = master\r\n-\t\tif(!istype(AI))\r\n-\t\t\tAI = null\r\n-\r\n-\t\tif(!QDELETED(master) && !master.incapacitated() && master.client && (!AI || AI.eyeobj))//If there is an AI attached, it's not incapacitated, it has a client, and the client eye is centered on the projector.\r\n-\t\t\tif(is_operational())//If the  machine has power.\r\n-\t\t\t\tif(AI)\t//ais are range based\r\n-\t\t\t\t\tif(get_dist(AI.eyeobj, src) <= holo_range)\r\n-\t\t\t\t\t\tcontinue\r\n-\t\t\t\t\telse\r\n-\t\t\t\t\t\tvar/obj/machinery/holopad/pad_close = get_closest_atom(/obj/machinery/holopad, holopads, AI.eyeobj)\r\n-\t\t\t\t\t\tif(get_dist(pad_close, AI.eyeobj) <= holo_range)\r\n-\t\t\t\t\t\t\tvar/obj/effect/overlay/holo_pad_hologram/h = masters[master]\r\n-\t\t\t\t\t\t\tunset_holo(master)\r\n-\t\t\t\t\t\t\tpad_close.set_holo(master, h)\r\n+\tif(LAZYLEN(masters))\r\n+\t\tfor(var/I in masters)\r\n+\t\t\tvar/mob/living/master = I\r\n+\t\t\tvar/mob/living/silicon/ai/AI = master\r\n+\t\t\tif(!istype(AI))\r","path":"code/game/machinery/hologram.dm","position":50,"original_position":50,"commit_id":"f45054062d9ddb8606afe1288164c6d148306c3a","original_commit_id":"f45054062d9ddb8606afe1288164c6d148306c3a","user":{"login":"MoreRobustThanYou","id":25724666,"avatar_url":"https://avatars3.githubusercontent.com/u/25724666?v=4","gravatar_id":"","url":"https://api.github.com/users/MoreRobustThanYou","html_url":"https://github.com/MoreRobustThanYou","followers_url":"https://api.github.com/users/MoreRobustThanYou/followers","following_url":"https://api.github.com/users/MoreRobustThanYou/following{/other_user}","gists_url":"https://api.github.com/users/MoreRobustThanYou/gists{/gist_id}","starred_url":"https://api.github.com/users/MoreRobustThanYou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoreRobustThanYou/subscriptions","organizations_url":"https://api.github.com/users/MoreRobustThanYou/orgs","repos_url":"https://api.github.com/users/MoreRobustThanYou/repos","events_url":"https://api.github.com/users/MoreRobustThanYou/events{/privacy}","received_events_url":"https://api.github.com/users/MoreRobustThanYou/received_events","type":"User","site_admin":false},"body":"@vuonojenmustaturska holocalls","created_at":"2018-02-01T01:14:07Z","updated_at":"2018-02-01T01:14:07Z","html_url":"https://github.com/tgstation/tgstation/pull/35020#discussion_r165236218","pull_request_url":"https://api.github.com/repos/tgstation/tgstation/pulls/35020","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/165236218"},"html":{"href":"https://github.com/tgstation/tgstation/pull/35020#discussion_r165236218"},"pull_request":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/35020"}},"in_reply_to_id":165235986},"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/35020","id":165527321,"html_url":"https://github.com/tgstation/tgstation/pull/35020","diff_url":"https://github.com/tgstation/tgstation/pull/35020.diff","patch_url":"https://github.com/tgstation/tgstation/pull/35020.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/35020","number":35020,"state":"open","locked":false,"title":"Holorays!","user":{"login":"MoreRobustThanYou","id":25724666,"avatar_url":"https://avatars3.githubusercontent.com/u/25724666?v=4","gravatar_id":"","url":"https://api.github.com/users/MoreRobustThanYou","html_url":"https://github.com/MoreRobustThanYou","followers_url":"https://api.github.com/users/MoreRobustThanYou/followers","following_url":"https://api.github.com/users/MoreRobustThanYou/following{/other_user}","gists_url":"https://api.github.com/users/MoreRobustThanYou/gists{/gist_id}","starred_url":"https://api.github.com/users/MoreRobustThanYou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoreRobustThanYou/subscriptions","organizations_url":"https://api.github.com/users/MoreRobustThanYou/orgs","repos_url":"https://api.github.com/users/MoreRobustThanYou/repos","events_url":"https://api.github.com/users/MoreRobustThanYou/events{/privacy}","received_events_url":"https://api.github.com/users/MoreRobustThanYou/received_events","type":"User","site_admin":false},"body":"![capture](https://user-images.githubusercontent.com/25724666/35474561-f1ab58ec-035d-11e8-926e-9c653dde8761.PNG)\r\n\r\n:cl: DeityLink \r\nadd: You can now see the rays from a holopad displaying a hologram!\r\n/:cl:\r\n\r\n\r\nCode ripped from https://github.com/vgstation-coders/vgstation13/pull/17230. Credit goes to them\r\n","created_at":"2018-01-27T17:31:27Z","updated_at":"2018-02-01T01:14:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df17d0dc30921d49df437a028dbadc8a6b366789","assignee":null,"assignees":[],"requested_reviewers":[{"login":"WJohn","id":5988156,"avatar_url":"https://avatars1.githubusercontent.com/u/5988156?v=4","gravatar_id":"","url":"https://api.github.com/users/WJohn","html_url":"https://github.com/WJohn","followers_url":"https://api.github.com/users/WJohn/followers","following_url":"https://api.github.com/users/WJohn/following{/other_user}","gists_url":"https://api.github.com/users/WJohn/gists{/gist_id}","starred_url":"https://api.github.com/users/WJohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WJohn/subscriptions","organizations_url":"https://api.github.com/users/WJohn/orgs","repos_url":"https://api.github.com/users/WJohn/repos","events_url":"https://api.github.com/users/WJohn/events{/privacy}","received_events_url":"https://api.github.com/users/WJohn/received_events","type":"User","site_admin":false},{"login":"ShizCalev","id":6209658,"avatar_url":"https://avatars2.githubusercontent.com/u/6209658?v=4","gravatar_id":"","url":"https://api.github.com/users/ShizCalev","html_url":"https://github.com/ShizCalev","followers_url":"https://api.github.com/users/ShizCalev/followers","following_url":"https://api.github.com/users/ShizCalev/following{/other_user}","gists_url":"https://api.github.com/users/ShizCalev/gists{/gist_id}","starred_url":"https://api.github.com/users/ShizCalev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShizCalev/subscriptions","organizations_url":"https://api.github.com/users/ShizCalev/orgs","repos_url":"https://api.github.com/users/ShizCalev/repos","events_url":"https://api.github.com/users/ShizCalev/events{/privacy}","received_events_url":"https://api.github.com/users/ShizCalev/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/35020/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/35020/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/35020/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/f45054062d9ddb8606afe1288164c6d148306c3a","head":{"label":"MoreRobustThanYou:intercom_languages","ref":"intercom_languages","sha":"f45054062d9ddb8606afe1288164c6d148306c3a","user":{"login":"MoreRobustThanYou","id":25724666,"avatar_url":"https://avatars3.githubusercontent.com/u/25724666?v=4","gravatar_id":"","url":"https://api.github.com/users/MoreRobustThanYou","html_url":"https://github.com/MoreRobustThanYou","followers_url":"https://api.github.com/users/MoreRobustThanYou/followers","following_url":"https://api.github.com/users/MoreRobustThanYou/following{/other_user}","gists_url":"https://api.github.com/users/MoreRobustThanYou/gists{/gist_id}","starred_url":"https://api.github.com/users/MoreRobustThanYou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoreRobustThanYou/subscriptions","organizations_url":"https://api.github.com/users/MoreRobustThanYou/orgs","repos_url":"https://api.github.com/users/MoreRobustThanYou/repos","events_url":"https://api.github.com/users/MoreRobustThanYou/events{/privacy}","received_events_url":"https://api.github.com/users/MoreRobustThanYou/received_events","type":"User","site_admin":false},"repo":{"id":95388728,"name":"tgstation","full_name":"MoreRobustThanYou/tgstation","owner":{"login":"MoreRobustThanYou","id":25724666,"avatar_url":"https://avatars3.githubusercontent.com/u/25724666?v=4","gravatar_id":"","url":"https://api.github.com/users/MoreRobustThanYou","html_url":"https://github.com/MoreRobustThanYou","followers_url":"https://api.github.com/users/MoreRobustThanYou/followers","following_url":"https://api.github.com/users/MoreRobustThanYou/following{/other_user}","gists_url":"https://api.github.com/users/MoreRobustThanYou/gists{/gist_id}","starred_url":"https://api.github.com/users/MoreRobustThanYou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoreRobustThanYou/subscriptions","organizations_url":"https://api.github.com/users/MoreRobustThanYou/orgs","repos_url":"https://api.github.com/users/MoreRobustThanYou/repos","events_url":"https://api.github.com/users/MoreRobustThanYou/events{/privacy}","received_events_url":"https://api.github.com/users/MoreRobustThanYou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MoreRobustThanYou/tgstation","description":"the /tg/station branch of SS13","fork":true,"url":"https://api.github.com/repos/MoreRobustThanYou/tgstation","forks_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/forks","keys_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/teams","hooks_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/hooks","issue_events_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/events","assignees_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/tags","blobs_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/languages","stargazers_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/stargazers","contributors_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/contributors","subscribers_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/subscribers","subscription_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/subscription","commits_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/merges","archive_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/downloads","issues_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/MoreRobustThanYou/tgstation/deployments","created_at":"2017-06-25T22:14:37Z","updated_at":"2018-01-28T20:33:13Z","pushed_at":"2018-02-01T00:38:22Z","git_url":"git://github.com/MoreRobustThanYou/tgstation.git","ssh_url":"git@github.com:MoreRobustThanYou/tgstation.git","clone_url":"https://github.com/MoreRobustThanYou/tgstation.git","svn_url":"https://github.com/MoreRobustThanYou/tgstation","homepage":"http://www.tgstation13.org/","size":1144925,"stargazers_count":1,"watchers_count":1,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"tgstation:master","ref":"master","sha":"3c2bbc45c6dc26f0c527ea92409a81fe29d7146b","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars2.githubusercontent.com/u/1363778?v=4","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"tgstation","full_name":"tgstation/tgstation","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars2.githubusercontent.com/u/1363778?v=4","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/tgstation","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/tgstation","forks_url":"https://api.github.com/repos/tgstation/tgstation/forks","keys_url":"https://api.github.com/repos/tgstation/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/tgstation/teams","hooks_url":"https://api.github.com/repos/tgstation/tgstation/hooks","issue_events_url":"https://api.github.com/repos/tgstation/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/tgstation/events","assignees_url":"https://api.github.com/repos/tgstation/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/tgstation/tags","blobs_url":"https://api.github.com/repos/tgstation/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/tgstation/languages","stargazers_url":"https://api.github.com/repos/tgstation/tgstation/stargazers","contributors_url":"https://api.github.com/repos/tgstation/tgstation/contributors","subscribers_url":"https://api.github.com/repos/tgstation/tgstation/subscribers","subscription_url":"https://api.github.com/repos/tgstation/tgstation/subscription","commits_url":"https://api.github.com/repos/tgstation/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/tgstation/merges","archive_url":"https://api.github.com/repos/tgstation/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/tgstation/downloads","issues_url":"https://api.github.com/repos/tgstation/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/tgstation/tgstation/deployments","created_at":"2012-01-21T17:32:47Z","updated_at":"2018-01-31T08:02:15Z","pushed_at":"2018-02-01T00:56:11Z","git_url":"git://github.com/tgstation/tgstation.git","ssh_url":"git@github.com:tgstation/tgstation.git","clone_url":"https://github.com/tgstation/tgstation.git","svn_url":"https://github.com/tgstation/tgstation","homepage":"https://www.tgstation13.org/","size":1058173,"stargazers_count":461,"watchers_count":461,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1688,"mirror_url":null,"archived":false,"open_issues_count":1080,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1688,"open_issues":1080,"watchers":461,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/35020"},"html":{"href":"https://github.com/tgstation/tgstation/pull/35020"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/35020"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/35020/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/35020/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/35020/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/f45054062d9ddb8606afe1288164c6d148306c3a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"MoreRobustThanYou"}}