{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/61668352","id":61668352,"diff_hunk":"@@ -189,7 +189,7 @@ void ChangeOwnership(Actor self, Actor captor)\n \n \t\tvoid INotifyOwnerChanged.OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)\n \t\t{\n-\t\t\tskipTriggerUpdate = false;\n+\t\t\tGame.RunAfterTick(() => skipTriggerUpdate = false);","path":"OpenRA.Mods.Common/Traits/ProximityCapturable.cs","position":5,"original_position":5,"commit_id":"8c80b61897c87170ee3f6466a2b693f4485011bb","original_commit_id":"8c80b61897c87170ee3f6466a2b693f4485011bb","user":{"login":"abcdefg30","id":7704140,"avatar_url":"https://avatars.githubusercontent.com/u/7704140?v=3","gravatar_id":"","url":"https://api.github.com/users/abcdefg30","html_url":"https://github.com/abcdefg30","followers_url":"https://api.github.com/users/abcdefg30/followers","following_url":"https://api.github.com/users/abcdefg30/following{/other_user}","gists_url":"https://api.github.com/users/abcdefg30/gists{/gist_id}","starred_url":"https://api.github.com/users/abcdefg30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abcdefg30/subscriptions","organizations_url":"https://api.github.com/users/abcdefg30/orgs","repos_url":"https://api.github.com/users/abcdefg30/repos","events_url":"https://api.github.com/users/abcdefg30/events{/privacy}","received_events_url":"https://api.github.com/users/abcdefg30/received_events","type":"User","site_admin":false},"body":"This now needed to prevent the `AddedToWorld` method from running here.","created_at":"2016-04-30T11:20:58Z","updated_at":"2016-04-30T11:20:58Z","html_url":"https://github.com/OpenRA/OpenRA/pull/11194#discussion_r61668352","pull_request_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194","_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/61668352"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/11194#discussion_r61668352"},"pull_request":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194","id":67949043,"html_url":"https://github.com/OpenRA/OpenRA/pull/11194","diff_url":"https://github.com/OpenRA/OpenRA/pull/11194.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/11194.patch","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/11194","number":11194,"state":"open","locked":false,"title":"Fix ProvidesPrerequisite not refreshing the tech tree (on owner change)","user":{"login":"abcdefg30","id":7704140,"avatar_url":"https://avatars.githubusercontent.com/u/7704140?v=3","gravatar_id":"","url":"https://api.github.com/users/abcdefg30","html_url":"https://github.com/abcdefg30","followers_url":"https://api.github.com/users/abcdefg30/followers","following_url":"https://api.github.com/users/abcdefg30/following{/other_user}","gists_url":"https://api.github.com/users/abcdefg30/gists{/gist_id}","starred_url":"https://api.github.com/users/abcdefg30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abcdefg30/subscriptions","organizations_url":"https://api.github.com/users/abcdefg30/orgs","repos_url":"https://api.github.com/users/abcdefg30/repos","events_url":"https://api.github.com/users/abcdefg30/events{/privacy}","received_events_url":"https://api.github.com/users/abcdefg30/received_events","type":"User","site_admin":false},"body":"Not sure if this is the correct approach. Context (see also https://github.com/OpenRA/ra2/pull/191):\r\n> 21:44:08 (abcdefg30) ok, so I might need some advice here\r\n21:44:22 (abcdefg30) it works how I want it too, but not sure if that's the right thing to do\r\n21:44:38 (abcdefg30) case: we have a neutral airport, when you capture it you get faction specific paradrops\r\n21:45:03 (abcdefg30) unfortunately, we need different prerequisites for the different faction specific paradrops\r\n21:45:15 (abcdefg30) so I just let the building itself provide a faction specific prereq\r\n21:45:42 (abcdefg30) now the thing: the building just grants the prereq of the first owner (which would be neutral with its faction)\r\n21:46:17 (abcdefg30) when I capture the neutral building then, I still somehow get the old factions prereq / paratroopers power :s\r\n\r\nI'll investigate a bit more tomorrow, if noone has a good idea.","created_at":"2016-04-26T20:05:00Z","updated_at":"2016-04-30T11:20:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"694706be71c0c0faa392cffe8eb770bde995e872","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194/commits","review_comments_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194/comments","review_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/11194/comments","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/8c80b61897c87170ee3f6466a2b693f4485011bb","head":{"label":"abcdefg30:providesTech","ref":"providesTech","sha":"8c80b61897c87170ee3f6466a2b693f4485011bb","user":{"login":"abcdefg30","id":7704140,"avatar_url":"https://avatars.githubusercontent.com/u/7704140?v=3","gravatar_id":"","url":"https://api.github.com/users/abcdefg30","html_url":"https://github.com/abcdefg30","followers_url":"https://api.github.com/users/abcdefg30/followers","following_url":"https://api.github.com/users/abcdefg30/following{/other_user}","gists_url":"https://api.github.com/users/abcdefg30/gists{/gist_id}","starred_url":"https://api.github.com/users/abcdefg30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abcdefg30/subscriptions","organizations_url":"https://api.github.com/users/abcdefg30/orgs","repos_url":"https://api.github.com/users/abcdefg30/repos","events_url":"https://api.github.com/users/abcdefg30/events{/privacy}","received_events_url":"https://api.github.com/users/abcdefg30/received_events","type":"User","site_admin":false},"repo":{"id":21796544,"name":"OpenRA","full_name":"abcdefg30/OpenRA","owner":{"login":"abcdefg30","id":7704140,"avatar_url":"https://avatars.githubusercontent.com/u/7704140?v=3","gravatar_id":"","url":"https://api.github.com/users/abcdefg30","html_url":"https://github.com/abcdefg30","followers_url":"https://api.github.com/users/abcdefg30/followers","following_url":"https://api.github.com/users/abcdefg30/following{/other_user}","gists_url":"https://api.github.com/users/abcdefg30/gists{/gist_id}","starred_url":"https://api.github.com/users/abcdefg30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abcdefg30/subscriptions","organizations_url":"https://api.github.com/users/abcdefg30/orgs","repos_url":"https://api.github.com/users/abcdefg30/repos","events_url":"https://api.github.com/users/abcdefg30/events{/privacy}","received_events_url":"https://api.github.com/users/abcdefg30/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abcdefg30/OpenRA","description":"An open-source implementation of the Command & Conquer: Red Alert engine using .NET/Mono and OpenGL. Runs on Windows, Linux and Mac OS X.","fork":true,"url":"https://api.github.com/repos/abcdefg30/OpenRA","forks_url":"https://api.github.com/repos/abcdefg30/OpenRA/forks","keys_url":"https://api.github.com/repos/abcdefg30/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abcdefg30/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abcdefg30/OpenRA/teams","hooks_url":"https://api.github.com/repos/abcdefg30/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/abcdefg30/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/abcdefg30/OpenRA/events","assignees_url":"https://api.github.com/repos/abcdefg30/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/abcdefg30/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/abcdefg30/OpenRA/tags","blobs_url":"https://api.github.com/repos/abcdefg30/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abcdefg30/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abcdefg30/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/abcdefg30/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abcdefg30/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/abcdefg30/OpenRA/languages","stargazers_url":"https://api.github.com/repos/abcdefg30/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/abcdefg30/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/abcdefg30/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/abcdefg30/OpenRA/subscription","commits_url":"https://api.github.com/repos/abcdefg30/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/abcdefg30/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/abcdefg30/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/abcdefg30/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/abcdefg30/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/abcdefg30/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abcdefg30/OpenRA/merges","archive_url":"https://api.github.com/repos/abcdefg30/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abcdefg30/OpenRA/downloads","issues_url":"https://api.github.com/repos/abcdefg30/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/abcdefg30/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/abcdefg30/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/abcdefg30/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abcdefg30/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/abcdefg30/OpenRA/releases{/id}","deployments_url":"https://api.github.com/repos/abcdefg30/OpenRA/deployments","created_at":"2014-07-13T17:54:32Z","updated_at":"2016-03-06T11:20:33Z","pushed_at":"2016-04-30T11:16:09Z","git_url":"git://github.com/abcdefg30/OpenRA.git","ssh_url":"git@github.com:abcdefg30/OpenRA.git","clone_url":"https://github.com/abcdefg30/OpenRA.git","svn_url":"https://github.com/abcdefg30/OpenRA","homepage":"http://www.openra.net","size":105539,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"bleed"}},"base":{"label":"OpenRA:bleed","ref":"bleed","sha":"a9ec32576590a4ce6138e39cc0537193c66e6194","user":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"repo":{"id":959908,"name":"OpenRA","full_name":"OpenRA/OpenRA","owner":{"login":"OpenRA","id":409046,"avatar_url":"https://avatars.githubusercontent.com/u/409046?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenRA","html_url":"https://github.com/OpenRA","followers_url":"https://api.github.com/users/OpenRA/followers","following_url":"https://api.github.com/users/OpenRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenRA/subscriptions","organizations_url":"https://api.github.com/users/OpenRA/orgs","repos_url":"https://api.github.com/users/OpenRA/repos","events_url":"https://api.github.com/users/OpenRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenRA/OpenRA","description":"Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.","fork":false,"url":"https://api.github.com/repos/OpenRA/OpenRA","forks_url":"https://api.github.com/repos/OpenRA/OpenRA/forks","keys_url":"https://api.github.com/repos/OpenRA/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenRA/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenRA/OpenRA/teams","hooks_url":"https://api.github.com/repos/OpenRA/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/OpenRA/OpenRA/events","assignees_url":"https://api.github.com/repos/OpenRA/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/OpenRA/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/OpenRA/OpenRA/tags","blobs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenRA/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenRA/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenRA/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenRA/OpenRA/languages","stargazers_url":"https://api.github.com/repos/OpenRA/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/OpenRA/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/OpenRA/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/OpenRA/OpenRA/subscription","commits_url":"https://api.github.com/repos/OpenRA/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenRA/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenRA/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/OpenRA/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenRA/OpenRA/merges","archive_url":"https://api.github.com/repos/OpenRA/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenRA/OpenRA/downloads","issues_url":"https://api.github.com/repos/OpenRA/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenRA/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenRA/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/OpenRA/OpenRA/releases{/id}","deployments_url":"https://api.github.com/repos/OpenRA/OpenRA/deployments","created_at":"2010-10-04T07:38:05Z","updated_at":"2016-04-30T09:42:03Z","pushed_at":"2016-04-30T11:16:10Z","git_url":"git://github.com/OpenRA/OpenRA.git","ssh_url":"git@github.com:OpenRA/OpenRA.git","clone_url":"https://github.com/OpenRA/OpenRA.git","svn_url":"https://github.com/OpenRA/OpenRA","homepage":"http://www.openra.net","size":170091,"stargazers_count":2788,"watchers_count":2788,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":946,"mirror_url":null,"open_issues_count":986,"forks":946,"open_issues":986,"watchers":2788,"default_branch":"bleed"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/11194"},"issue":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/11194"},"comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/11194/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/11194/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRA/OpenRA/statuses/8c80b61897c87170ee3f6466a2b693f4485011bb"}}}}