{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10041","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10041/labels{/name}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10041/comments","events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10041/events","html_url":"https://github.com/OpenRA/OpenRA/pull/10041","id":118011102,"number":10041,"title":"Unload passengers / cargo on death","user":{"login":"teees","id":15243958,"avatar_url":"https://avatars.githubusercontent.com/u/15243958?v=3","gravatar_id":"","url":"https://api.github.com/users/teees","html_url":"https://github.com/teees","followers_url":"https://api.github.com/users/teees/followers","following_url":"https://api.github.com/users/teees/following{/other_user}","gists_url":"https://api.github.com/users/teees/gists{/gist_id}","starred_url":"https://api.github.com/users/teees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teees/subscriptions","organizations_url":"https://api.github.com/users/teees/orgs","repos_url":"https://api.github.com/users/teees/repos","events_url":"https://api.github.com/users/teees/events{/privacy}","received_events_url":"https://api.github.com/users/teees/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-20T10:31:14Z","updated_at":"2015-11-21T12:36:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10041","html_url":"https://github.com/OpenRA/OpenRA/pull/10041","diff_url":"https://github.com/OpenRA/OpenRA/pull/10041.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/10041.patch"},"body":"Bit hacky approach, works by nudging passengers on exit so they don't bunch up.\r\n\r\nThe changes in EnterTransport will cancel any of the passengers activity, since mobile will discard nudges if not idle.\r\n\r\nKills any cargo it can't unload (when in water etc)\r\n\r\nEdit:\r\nNo changes in EnterTransport, added a check in Enter to move on to the next activity and don't wait for the next tick. Also use Mobile.Nudge instead of INotifyBlockingMove.OnNotifyBlockingMove\r\n\r\nhttp://gfycat.com/ImpishImaginativeFlea\r\n\r\nhttps://gfycat.com/BoilingLimpAfricanjacana"},"comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments/158635561","html_url":"https://github.com/OpenRA/OpenRA/pull/10041#issuecomment-158635561","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10041","id":158635561,"user":{"login":"pchote","id":167819,"avatar_url":"https://avatars.githubusercontent.com/u/167819?v=3","gravatar_id":"","url":"https://api.github.com/users/pchote","html_url":"https://github.com/pchote","followers_url":"https://api.github.com/users/pchote/followers","following_url":"https://api.github.com/users/pchote/following{/other_user}","gists_url":"https://api.github.com/users/pchote/gists{/gist_id}","starred_url":"https://api.github.com/users/pchote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchote/subscriptions","organizations_url":"https://api.github.com/users/pchote/orgs","repos_url":"https://api.github.com/users/pchote/repos","events_url":"https://api.github.com/users/pchote/events{/privacy}","received_events_url":"https://api.github.com/users/pchote/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T12:36:58Z","updated_at":"2015-11-21T12:36:58Z","body":"Works well ingame and matches the original TS behaviour. :+1: after addressing the nits above."}}