{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/38158","repository_url":"https://api.github.com/repos/tgstation/tgstation","labels_url":"https://api.github.com/repos/tgstation/tgstation/issues/38158/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/38158/comments","events_url":"https://api.github.com/repos/tgstation/tgstation/issues/38158/events","html_url":"https://github.com/tgstation/tgstation/pull/38158","id":327557709,"number":38158,"title":"Fix: Cyborgs can now use defibs with other modules equipped","user":{"login":"CitrusGender","id":31262308,"avatar_url":"https://avatars2.githubusercontent.com/u/31262308?v=4","gravatar_id":"","url":"https://api.github.com/users/CitrusGender","html_url":"https://github.com/CitrusGender","followers_url":"https://api.github.com/users/CitrusGender/followers","following_url":"https://api.github.com/users/CitrusGender/following{/other_user}","gists_url":"https://api.github.com/users/CitrusGender/gists{/gist_id}","starred_url":"https://api.github.com/users/CitrusGender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CitrusGender/subscriptions","organizations_url":"https://api.github.com/users/CitrusGender/orgs","repos_url":"https://api.github.com/users/CitrusGender/repos","events_url":"https://api.github.com/users/CitrusGender/events{/privacy}","received_events_url":"https://api.github.com/users/CitrusGender/received_events","type":"User","site_admin":false},"labels":[{"id":157846355,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Fix","name":"Fix","color":"00bbdd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-30T03:10:01Z","updated_at":"2018-05-30T04:32:04Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/38158","html_url":"https://github.com/tgstation/tgstation/pull/38158","diff_url":"https://github.com/tgstation/tgstation/pull/38158.diff","patch_url":"https://github.com/tgstation/tgstation/pull/38158.patch"},"body":"The if(user.get_inactive_held_item()) check isn't very useful to cyborgs since all that does is return the item in the second module (and if there is nothing there, it returns null.) This checks to see if the user is a cyborg and ignores that check if so.\r\n\r\nIngame picture of the bug:\r\n![image](https://user-images.githubusercontent.com/31262308/40696801-5f5d6cda-6395-11e8-8bd2-a0d9d3c77c9b.png)\r\n\r\n\r\n:cl:\r\nfix: Fixes cyborgs not being able to use two-handed modules while other modules are equipped.\r\n/:cl:\r\n\r\n[why]: fixes #38142 \r\n"},"comment":{"url":"https://api.github.com/repos/tgstation/tgstation/issues/comments/393027173","html_url":"https://github.com/tgstation/tgstation/pull/38158#issuecomment-393027173","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/38158","id":393027173,"user":{"login":"CitrusGender","id":31262308,"avatar_url":"https://avatars2.githubusercontent.com/u/31262308?v=4","gravatar_id":"","url":"https://api.github.com/users/CitrusGender","html_url":"https://github.com/CitrusGender","followers_url":"https://api.github.com/users/CitrusGender/followers","following_url":"https://api.github.com/users/CitrusGender/following{/other_user}","gists_url":"https://api.github.com/users/CitrusGender/gists{/gist_id}","starred_url":"https://api.github.com/users/CitrusGender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CitrusGender/subscriptions","organizations_url":"https://api.github.com/users/CitrusGender/orgs","repos_url":"https://api.github.com/users/CitrusGender/repos","events_url":"https://api.github.com/users/CitrusGender/events{/privacy}","received_events_url":"https://api.github.com/users/CitrusGender/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T04:32:04Z","updated_at":"2018-05-30T04:32:04Z","author_association":"CONTRIBUTOR","body":"edited it to be a little bit more modular since putting checks in is ghetto. You can look at twohanded.dm line 66 to see the user.get_inactive_held_item() referred to"}}
{"actor":{"display_login":"CitrusGender"}}