{"action":"created","comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/37563859","id":37563859,"diff_hunk":"@@ -58,6 +58,10 @@ bool IsValidOrder(Actor self, Order order)\n \t\t\tif (order.ExtraData == 0 && order.TargetActor == null)\n \t\t\t\treturn false;\n \n+\t\t\t// Should not infiltrate own or allied\n+\t\t\tif (order.TargetActor.Owner.IsAlliedWith(self.Owner))","path":"OpenRA.Mods.RA/Traits/Infiltration/Infiltrates.cs","position":5,"original_position":5,"commit_id":"919d96120d8a0f206e60f518f9efcc2c32c7caf3","original_commit_id":"919d96120d8a0f206e60f518f9efcc2c32c7caf3","user":{"login":"penev92","id":7137365,"avatar_url":"https://avatars.githubusercontent.com/u/7137365?v=3","gravatar_id":"","url":"https://api.github.com/users/penev92","html_url":"https://github.com/penev92","followers_url":"https://api.github.com/users/penev92/followers","following_url":"https://api.github.com/users/penev92/following{/other_user}","gists_url":"https://api.github.com/users/penev92/gists{/gist_id}","starred_url":"https://api.github.com/users/penev92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penev92/subscriptions","organizations_url":"https://api.github.com/users/penev92/orgs","repos_url":"https://api.github.com/users/penev92/repos","events_url":"https://api.github.com/users/penev92/events{/privacy}","received_events_url":"https://api.github.com/users/penev92/received_events","type":"User","site_admin":false},"body":"I think he means that if you have a field in the Info (set to not allow infiltrating allies by default, and none of our mods changing the default, ofc) some thirdparty mod can change it if they like, or custom maps can still enable it for their crazy gameplay.","created_at":"2015-08-20T18:25:21Z","updated_at":"2015-08-20T18:25:21Z","html_url":"https://github.com/OpenRA/OpenRA/pull/9117#discussion_r37563859","pull_request_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117","_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments/37563859"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/9117#discussion_r37563859"},"pull_request":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117"}}},"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117","id":42940282,"html_url":"https://github.com/OpenRA/OpenRA/pull/9117","diff_url":"https://github.com/OpenRA/OpenRA/pull/9117.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/9117.patch","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/9117","number":9117,"state":"open","locked":false,"title":"Prevent infiltrating allied targets.","user":{"login":"GraionDilach","id":1136302,"avatar_url":"https://avatars.githubusercontent.com/u/1136302?v=3","gravatar_id":"","url":"https://api.github.com/users/GraionDilach","html_url":"https://github.com/GraionDilach","followers_url":"https://api.github.com/users/GraionDilach/followers","following_url":"https://api.github.com/users/GraionDilach/following{/other_user}","gists_url":"https://api.github.com/users/GraionDilach/gists{/gist_id}","starred_url":"https://api.github.com/users/GraionDilach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraionDilach/subscriptions","organizations_url":"https://api.github.com/users/GraionDilach/orgs","repos_url":"https://api.github.com/users/GraionDilach/repos","events_url":"https://api.github.com/users/GraionDilach/events{/privacy}","received_events_url":"https://api.github.com/users/GraionDilach/received_events","type":"User","site_admin":false},"body":"Fixes #9116.","created_at":"2015-08-20T15:07:00Z","updated_at":"2015-08-20T18:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac051818a424a9423b0a73b8268000ae1b0fd50d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117/commits","review_comments_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117/comments","review_comment_url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/9117/comments","statuses_url":"https://api.github.com/repos/OpenRA/OpenRA/statuses/919d96120d8a0f206e60f518f9efcc2c32c7caf3","head":{"label":"GraionDilach:infiltrate-fix","ref":"infiltrate-fix","sha":"919d96120d8a0f206e60f518f9efcc2c32c7caf3","user":{"login":"GraionDilach","id":1136302,"avatar_url":"https://avatars.githubusercontent.com/u/1136302?v=3","gravatar_id":"","url":"https://api.github.com/users/GraionDilach","html_url":"https://github.com/GraionDilach","followers_url":"https://api.github.com/users/GraionDilach/followers","following_url":"https://api.github.com/users/GraionDilach/following{/other_user}","gists_url":"https://api.github.com/users/GraionDilach/gists{/gist_id}","starred_url":"https://api.github.com/users/GraionDilach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraionDilach/subscriptions","organizations_url":"https://api.github.com/users/GraionDilach/orgs","repos_url":"https://api.github.com/users/GraionDilach/repos","events_url":"https://api.github.com/users/GraionDilach/events{/privacy}","received_events_url":"https://api.github.com/users/GraionDilach/received_events","type":"User","site_admin":false},"repo":{"id":31671344,"name":"OpenRA","full_name":"GraionDilach/OpenRA","owner":{"login":"GraionDilach","id":1136302,"avatar_url":"https://avatars.githubusercontent.com/u/1136302?v=3","gravatar_id":"","url":"https://api.github.com/users/GraionDilach","html_url":"https://github.com/GraionDilach","followers_url":"https://api.github.com/users/GraionDilach/followers","following_url":"https://api.github.com/users/GraionDilach/following{/other_user}","gists_url":"https://api.github.com/users/GraionDilach/gists{/gist_id}","starred_url":"https://api.github.com/users/GraionDilach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GraionDilach/subscriptions","organizations_url":"https://api.github.com/users/GraionDilach/orgs","repos_url":"https://api.github.com/users/GraionDilach/repos","events_url":"https://api.github.com/users/GraionDilach/events{/privacy}","received_events_url":"https://api.github.com/users/GraionDilach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GraionDilach/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/GraionDilach/OpenRA","forks_url":"https://api.github.com/repos/GraionDilach/OpenRA/forks","keys_url":"https://api.github.com/repos/GraionDilach/OpenRA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GraionDilach/OpenRA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GraionDilach/OpenRA/teams","hooks_url":"https://api.github.com/repos/GraionDilach/OpenRA/hooks","issue_events_url":"https://api.github.com/repos/GraionDilach/OpenRA/issues/events{/number}","events_url":"https://api.github.com/repos/GraionDilach/OpenRA/events","assignees_url":"https://api.github.com/repos/GraionDilach/OpenRA/assignees{/user}","branches_url":"https://api.github.com/repos/GraionDilach/OpenRA/branches{/branch}","tags_url":"https://api.github.com/repos/GraionDilach/OpenRA/tags","blobs_url":"https://api.github.com/repos/GraionDilach/OpenRA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GraionDilach/OpenRA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GraionDilach/OpenRA/git/refs{/sha}","trees_url":"https://api.github.com/repos/GraionDilach/OpenRA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GraionDilach/OpenRA/statuses/{sha}","languages_url":"https://api.github.com/repos/GraionDilach/OpenRA/languages","stargazers_url":"https://api.github.com/repos/GraionDilach/OpenRA/stargazers","contributors_url":"https://api.github.com/repos/GraionDilach/OpenRA/contributors","subscribers_url":"https://api.github.com/repos/GraionDilach/OpenRA/subscribers","subscription_url":"https://api.github.com/repos/GraionDilach/OpenRA/subscription","commits_url":"https://api.github.com/repos/GraionDilach/OpenRA/commits{/sha}","git_commits_url":"https://api.github.com/repos/GraionDilach/OpenRA/git/commits{/sha}","comments_url":"https://api.github.com/repos/GraionDilach/OpenRA/comments{/number}","issue_comment_url":"https://api.github.com/repos/GraionDilach/OpenRA/issues/comments{/number}","contents_url":"https://api.github.com/repos/GraionDilach/OpenRA/contents/{+path}","compare_url":"https://api.github.com/repos/GraionDilach/OpenRA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GraionDilach/OpenRA/merges","archive_url":"https://api.github.com/repos/GraionDilach/OpenRA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GraionDilach/OpenRA/downloads","issues_url":"https://api.github.com/repos/GraionDilach/OpenRA/issues{/number}","pulls_url":"https://api.github.com/repos/GraionDilach/OpenRA/pulls{/number}","milestones_url":"https://api.github.com/repos/GraionDilach/OpenRA/milestones{/number}","notifications_url":"https://api.github.com/repos/GraionDilach/OpenRA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GraionDilach/OpenRA/labels{/name}","releases_url":"https://api.github.com/repos/GraionDilach/OpenRA/releases{/id}","created_at":"2015-03-04T17:55:26Z","updated_at":"2015-03-04T17:55:32Z","pushed_at":"2015-08-20T15:06:00Z","git_url":"git://github.com/GraionDilach/OpenRA.git","ssh_url":"git@github.com:GraionDilach/OpenRA.git","clone_url":"https://github.com/GraionDilach/OpenRA.git","svn_url":"https://github.com/GraionDilach/OpenRA","homepage":"http://www.openra.net","size":90632,"stargazers_count":0,"watchers_count":0,"language":"C#","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":0,"default_branch":"bleed"}},"base":{"label":"OpenRA:bleed","ref":"bleed","sha":"20193f086fb0e22d615959a045b875c687ec630b","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}","created_at":"2010-10-04T07:38:05Z","updated_at":"2015-08-20T12:26:02Z","pushed_at":"2015-08-20T18:13:43Z","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":187543,"stargazers_count":2091,"watchers_count":2091,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":750,"mirror_url":null,"open_issues_count":866,"forks":750,"open_issues":866,"watchers":2091,"default_branch":"bleed"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117"},"html":{"href":"https://github.com/OpenRA/OpenRA/pull/9117"},"issue":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/9117"},"comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/issues/9117/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenRA/OpenRA/pulls/9117/commits"},"statuses":{"href":"https://api.github.com/repos/OpenRA/OpenRA/statuses/919d96120d8a0f206e60f518f9efcc2c32c7caf3"}}}}