{"action":"created","issue":{"url":"https://api.github.com/repos/acemod/ACE3/issues/3327","repository_url":"https://api.github.com/repos/acemod/ACE3","labels_url":"https://api.github.com/repos/acemod/ACE3/issues/3327/labels{/name}","comments_url":"https://api.github.com/repos/acemod/ACE3/issues/3327/comments","events_url":"https://api.github.com/repos/acemod/ACE3/issues/3327/events","html_url":"https://github.com/acemod/ACE3/issues/3327","id":134087679,"number":3327,"title":"Fuel nozzle remains when removing vehicle","user":{"login":"bux578","id":1235520,"avatar_url":"https://avatars.githubusercontent.com/u/1235520?v=3","gravatar_id":"","url":"https://api.github.com/users/bux578","html_url":"https://github.com/bux578","followers_url":"https://api.github.com/users/bux578/followers","following_url":"https://api.github.com/users/bux578/following{/other_user}","gists_url":"https://api.github.com/users/bux578/gists{/gist_id}","starred_url":"https://api.github.com/users/bux578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bux578/subscriptions","organizations_url":"https://api.github.com/users/bux578/orgs","repos_url":"https://api.github.com/users/bux578/repos","events_url":"https://api.github.com/users/bux578/events{/privacy}","received_events_url":"https://api.github.com/users/bux578/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/acemod/ACE3/labels/bug","name":"bug","color":"EB4E20"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-16T20:23:39Z","updated_at":"2016-02-17T13:25:53Z","closed_at":null,"body":"ACE3 3.4.2 Stable\r\n\r\n**Mods:**\r\n* @CBA_A3\r\n* @ace\r\n* @tfar\r\n* @bwa3\r\n* @sobmod\r\n* @bw_isaf\r\n\r\n**Description:**\r\n* When deleting both the refueling vehicle and the vehicle that is getting refueled as zeus, the fuel nozzle remains on the ground and doesn't get removed.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1235520/13089947/7175a906-d4f3-11e5-87b5-615b4beafd6f.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1235520/13089958/79c18440-d4f3-11e5-851e-7eaaf609be62.png)\r\n\r\n**Steps to reproduce:**\r\n* Be Zeus\r\n* Spawn a e.g. HEMTT Fuel and a second vehicle\r\n* Edit the second vehicle and empty the fuel tank\r\n* Connect the second vehicle using the HEMTT's fuel nozzle\r\n* Start the refueling process\r\n* Delete both vehicles\r\n\r\n**Where did the issue occur?**\r\n* Multiplayer\r\n\r\n**RPT log file:**\r\nhttps://gist.github.com/bux578/a91760d1ef6e09c3b345\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/acemod/ACE3/issues/comments/185203558","html_url":"https://github.com/acemod/ACE3/issues/3327#issuecomment-185203558","issue_url":"https://api.github.com/repos/acemod/ACE3/issues/3327","id":185203558,"user":{"login":"esteldunedain","id":7674951,"avatar_url":"https://avatars.githubusercontent.com/u/7674951?v=3","gravatar_id":"","url":"https://api.github.com/users/esteldunedain","html_url":"https://github.com/esteldunedain","followers_url":"https://api.github.com/users/esteldunedain/followers","following_url":"https://api.github.com/users/esteldunedain/following{/other_user}","gists_url":"https://api.github.com/users/esteldunedain/gists{/gist_id}","starred_url":"https://api.github.com/users/esteldunedain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esteldunedain/subscriptions","organizations_url":"https://api.github.com/users/esteldunedain/orgs","repos_url":"https://api.github.com/users/esteldunedain/repos","events_url":"https://api.github.com/users/esteldunedain/events{/privacy}","received_events_url":"https://api.github.com/users/esteldunedain/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T13:25:52Z","updated_at":"2016-02-17T13:25:52Z","body":"> If the player interacting with the fuel truck disconnects\r\n\r\nOn the server:\r\n```sqf\r\naddMissionEventHandler [\"HandleDisconnect\", {\r\n    params [\"_disconnectedPlayer\"];\r\n    // If the player was refuelling, cleanup\r\n}];\r\n```\r\n\r\nOf course you'd need to set some public variables on the refuelling unit indicating to the server what should be cleanedup."}}