{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/80163907","id":80163907,"diff_hunk":"@@ -0,0 +1,103 @@\n+/datum/orbit\r\n+\tvar/atom/movable/orbiter\r\n+\tvar/atom/orbiting\r\n+\tvar/lock = TRUE\r\n+\tvar/turf/lastloc\r\n+\r\n+/datum/orbit/New(_orbiter, _orbiting, _lock)\r\n+\torbiter = _orbiter\r\n+\torbiting = _orbiting\r\n+\tOnMove()\r\n+\tlock = _lock\r\n+\r\n+\t//at this point we could get deleted and orbiter/orbiting could be null.\r\n+\tif (orbiting)\r\n+\t\tif (!orbiting.orbiters)\r\n+\t\t\torbiting.orbiters = list()\r\n+\t\torbiting.orbiters += src\r\n+\r\n+\tif (orbiter)\r\n+\t\tif (orbiter.orbiting)\r\n+\t\t\torbiter.stop_orbit()\r","path":"code/modules/orbit/orbit.dm","position":21,"original_position":21,"commit_id":"35e513437eae67ea2738a6a8b2515679526320a2","original_commit_id":"35e513437eae67ea2738a6a8b2515679526320a2","user":{"login":"MrStonedOne","id":7069733,"avatar_url":"https://avatars.githubusercontent.com/u/7069733?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStonedOne","html_url":"https://github.com/MrStonedOne","followers_url":"https://api.github.com/users/MrStonedOne/followers","following_url":"https://api.github.com/users/MrStonedOne/following{/other_user}","gists_url":"https://api.github.com/users/MrStonedOne/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStonedOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStonedOne/subscriptions","organizations_url":"https://api.github.com/users/MrStonedOne/orgs","repos_url":"https://api.github.com/users/MrStonedOne/repos","events_url":"https://api.github.com/users/MrStonedOne/events{/privacy}","received_events_url":"https://api.github.com/users/MrStonedOne/received_events","type":"User","site_admin":false},"body":"@AdamElTablawy This line of code stops the existing orbit when you start up a new orbit","created_at":"2016-09-23T00:31:59Z","updated_at":"2016-09-23T00:31:59Z","html_url":"https://github.com/tgstation/tgstation/pull/20632#discussion_r80163907","pull_request_url":"https://api.github.com/repos/tgstation/tgstation/pulls/20632","_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/80163907"},"html":{"href":"https://github.com/tgstation/tgstation/pull/20632#discussion_r80163907"},"pull_request":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/20632"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/20632","id":86282293,"html_url":"https://github.com/tgstation/tgstation/pull/20632","diff_url":"https://github.com/tgstation/tgstation/pull/20632.diff","patch_url":"https://github.com/tgstation/tgstation/pull/20632.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/20632","number":20632,"state":"open","locked":false,"title":"[dnm]Sleepless perfect datum orbits #MOGA","user":{"login":"MrStonedOne","id":7069733,"avatar_url":"https://avatars.githubusercontent.com/u/7069733?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStonedOne","html_url":"https://github.com/MrStonedOne","followers_url":"https://api.github.com/users/MrStonedOne/followers","following_url":"https://api.github.com/users/MrStonedOne/following{/other_user}","gists_url":"https://api.github.com/users/MrStonedOne/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStonedOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStonedOne/subscriptions","organizations_url":"https://api.github.com/users/MrStonedOne/orgs","repos_url":"https://api.github.com/users/MrStonedOne/repos","events_url":"https://api.github.com/users/MrStonedOne/events{/privacy}","received_events_url":"https://api.github.com/users/MrStonedOne/received_events","type":"User","site_admin":false},"body":":cl:\r\ntweak: orbits are now perfect, they will never have a delay, even during lag.\r\n/:cl:\r\n\r\nWe bind to Moved() and use datums and lists to track the orbits, no more sleeps, no more delay.\r\n\r\nMoved orbit code to a module.","created_at":"2016-09-22T05:51:32Z","updated_at":"2016-09-23T00:31:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"883e4a4a899df9cd1c28cdffea82f7ddf0c32031","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/20632/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/20632/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/20632/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/35e513437eae67ea2738a6a8b2515679526320a2","head":{"label":"MrStonedOne:perfectorbits","ref":"perfectorbits","sha":"35e513437eae67ea2738a6a8b2515679526320a2","user":{"login":"MrStonedOne","id":7069733,"avatar_url":"https://avatars.githubusercontent.com/u/7069733?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStonedOne","html_url":"https://github.com/MrStonedOne","followers_url":"https://api.github.com/users/MrStonedOne/followers","following_url":"https://api.github.com/users/MrStonedOne/following{/other_user}","gists_url":"https://api.github.com/users/MrStonedOne/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStonedOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStonedOne/subscriptions","organizations_url":"https://api.github.com/users/MrStonedOne/orgs","repos_url":"https://api.github.com/users/MrStonedOne/repos","events_url":"https://api.github.com/users/MrStonedOne/events{/privacy}","received_events_url":"https://api.github.com/users/MrStonedOne/received_events","type":"User","site_admin":false},"repo":{"id":18158463,"name":"-tg-station","full_name":"MrStonedOne/-tg-station","owner":{"login":"MrStonedOne","id":7069733,"avatar_url":"https://avatars.githubusercontent.com/u/7069733?v=3","gravatar_id":"","url":"https://api.github.com/users/MrStonedOne","html_url":"https://github.com/MrStonedOne","followers_url":"https://api.github.com/users/MrStonedOne/followers","following_url":"https://api.github.com/users/MrStonedOne/following{/other_user}","gists_url":"https://api.github.com/users/MrStonedOne/gists{/gist_id}","starred_url":"https://api.github.com/users/MrStonedOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrStonedOne/subscriptions","organizations_url":"https://api.github.com/users/MrStonedOne/orgs","repos_url":"https://api.github.com/users/MrStonedOne/repos","events_url":"https://api.github.com/users/MrStonedOne/events{/privacy}","received_events_url":"https://api.github.com/users/MrStonedOne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrStonedOne/-tg-station","description":"/tg/'s SS13 branch","fork":true,"url":"https://api.github.com/repos/MrStonedOne/-tg-station","forks_url":"https://api.github.com/repos/MrStonedOne/-tg-station/forks","keys_url":"https://api.github.com/repos/MrStonedOne/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrStonedOne/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrStonedOne/-tg-station/teams","hooks_url":"https://api.github.com/repos/MrStonedOne/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/MrStonedOne/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/MrStonedOne/-tg-station/events","assignees_url":"https://api.github.com/repos/MrStonedOne/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/MrStonedOne/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/MrStonedOne/-tg-station/tags","blobs_url":"https://api.github.com/repos/MrStonedOne/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrStonedOne/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrStonedOne/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrStonedOne/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrStonedOne/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/MrStonedOne/-tg-station/languages","stargazers_url":"https://api.github.com/repos/MrStonedOne/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/MrStonedOne/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/MrStonedOne/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/MrStonedOne/-tg-station/subscription","commits_url":"https://api.github.com/repos/MrStonedOne/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrStonedOne/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrStonedOne/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrStonedOne/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrStonedOne/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/MrStonedOne/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrStonedOne/-tg-station/merges","archive_url":"https://api.github.com/repos/MrStonedOne/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrStonedOne/-tg-station/downloads","issues_url":"https://api.github.com/repos/MrStonedOne/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/MrStonedOne/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/MrStonedOne/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/MrStonedOne/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrStonedOne/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/MrStonedOne/-tg-station/releases{/id}","deployments_url":"https://api.github.com/repos/MrStonedOne/-tg-station/deployments","created_at":"2014-03-26T23:58:37Z","updated_at":"2016-01-22T07:51:41Z","pushed_at":"2016-09-22T06:09:46Z","git_url":"git://github.com/MrStonedOne/-tg-station.git","ssh_url":"git@github.com:MrStonedOne/-tg-station.git","clone_url":"https://github.com/MrStonedOne/-tg-station.git","svn_url":"https://github.com/MrStonedOne/-tg-station","homepage":"","size":676177,"stargazers_count":1,"watchers_count":1,"language":"DM","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"tgstation:master","ref":"master","sha":"5809a52d21f324127060272e433e62c4b58f6cf5","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","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://avatars.githubusercontent.com/u/1363778?v=3","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":"2016-09-22T01:56:21Z","pushed_at":"2016-09-22T23:34:09Z","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":"http://www.tgstation13.org/","size":1564795,"stargazers_count":318,"watchers_count":318,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1141,"mirror_url":null,"open_issues_count":897,"forks":1141,"open_issues":897,"watchers":318,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/20632"},"html":{"href":"https://github.com/tgstation/tgstation/pull/20632"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/20632"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/20632/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/20632/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/20632/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/35e513437eae67ea2738a6a8b2515679526320a2"}}}}
{"actor":{"display_login":"MrStonedOne"}}