{"action":"created","issue":{"url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13847","repository_url":"https://api.github.com/repos/Baystation12/Baystation12","labels_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13847/labels{/name}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13847/comments","events_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13847/events","html_url":"https://github.com/Baystation12/Baystation12/issues/13847","id":168501088,"number":13847,"title":"Autotraitor can, in certain cases, spawn a naked body and put a ghost into it.","user":{"login":"GinjaNinja32","id":3900853,"avatar_url":"https://avatars.githubusercontent.com/u/3900853?v=3","gravatar_id":"","url":"https://api.github.com/users/GinjaNinja32","html_url":"https://github.com/GinjaNinja32","followers_url":"https://api.github.com/users/GinjaNinja32/followers","following_url":"https://api.github.com/users/GinjaNinja32/following{/other_user}","gists_url":"https://api.github.com/users/GinjaNinja32/gists{/gist_id}","starred_url":"https://api.github.com/users/GinjaNinja32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GinjaNinja32/subscriptions","organizations_url":"https://api.github.com/users/GinjaNinja32/orgs","repos_url":"https://api.github.com/users/GinjaNinja32/repos","events_url":"https://api.github.com/users/GinjaNinja32/events{/privacy}","received_events_url":"https://api.github.com/users/GinjaNinja32/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Baystation12/Baystation12/labels/bug","name":"bug","color":"AC3232"},{"url":"https://api.github.com/repos/Baystation12/Baystation12/labels/priority:%20medium","name":"priority: medium","color":"DF7126"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-31T04:35:40Z","updated_at":"2016-07-31T04:37:45Z","closed_at":null,"body":"#### Description of issue\r\nAutotraitor can, in certain cases, spawn a naked body and put a ghost into it.\r\n\r\nIt appears [the first three checks here](https://github.com/Baystation12/Baystation12/blob/dev/code/game/antagonist/antagonist.dm#L185-L196) all *pass* for traitor on a ghost, only requiring the fourth check to pass for the whole thing\r\n    to pass.\r\n\r\nI have no idea how a naked body is spawned.\r\n\r\n#### Difference between expected and actual behavior\r\nExpected: Autotraitor would not spawn a ghost in as a naked traitor.\r\nActual: It did.\r\n\r\n#### Steps to reproduce\r\n1. Be a ghost.\r\n2. Call an add-antag vote.\r\n3. Have the vote look for ghost candidates (eg vote for wizard, ninja, merc, etc; in this case, the vote was traitor (no eligible candidates), wizard (successfully spawned))\r\n4. Have auto-traitor fire while add-antag is still waiting.\r\n5. Become naked traitor.\r\n\r\n#### Specific information for locating\r\nSpawned-in naked guy in below round was named Loreto Warren, happened around 12:30 server time on 2016-07-30.\r\n\r\n#### Length of time in which bug has been known to occur\r\nUnknown\r\n\r\n#### Server revision & Game ID\r\nd604d9af67d3bde804de47551232102702a17975\r\nGame ID: bJP-bgGE\r\n\r\n#### Issue bingo\r\n\r\nPlease check whatever applies. More checkboxes checked increase your chances of the issue being looked at sooner.\r\n\r\n<!-- Check these by writing an x inside the [ ] (like this: [x])-->\r\n<!-- Don't forget to remove the space between the brackets, or it won't work! -->\r\n- [ ] Issue could be reproduced at least once\r\n- [ ] Issue could be reproduced by different players\r\n- [ ] Issue could be reproduced in multiple rounds\r\n- [x] Issue happened in a recent (less than 7 days ago) round\r\n- [x] [Couldn't find an existing issue about this](https://github.com/Baystation12/Baystation12/issues)\r\n\r\n\r\nSections which start \"Found 1/3 active Traitors\" are autotraitor here, the others are add-antag runs.\r\nI have replaced certain information with a `*`; the full logs are available to admins via the usual means.\r\n```\r\n[12:23:11] bJP-bgGE DEBUG: TRAITOR: Found 1/3 active Traitors.\r\n[12:23:11] bJP-bgGE DEBUG: Sgt_destruction had traitor enabled, so we are drafting them.\r\n[12:23:11] bJP-bgGE DEBUG: MetaphysicalPersona had traitor enabled, so we are drafting them.\r\n[12:23:11] bJP-bgGE DEBUG: Ty55101 had traitor enabled, so we are drafting them.\r\n[12:23:11] bJP-bgGE DEBUG: Gavinator9 had traitor enabled, so we are drafting them.\r\n[12:23:11] bJP-bgGE DEBUG: Sgt_destruction/(*) is not eligible to become a Traitor: They are blacklisted for this role!\r\n[12:23:11] bJP-bgGE DEBUG: MetaphysicalPersona/(*) is not eligible to become a Traitor: They already have a special role (Traitor)!\r\n[12:23:11] bJP-bgGE DEBUG: Ty55101/(*) is not eligible to become a Traitor: They are blacklisted for this role!\r\n[12:23:11] bJP-bgGE DEBUG: Gavinator9 was selected for Traitor by lottery, but they are a ghost not in the antag pool.\r\n[12:23:11] bJP-bgGE DEBUG: Could not auto-spawn a Traitor, none of the available candidates could be selected.\r\n\r\n[12:26:03] bJP-bgGE VOTE: Crew_transfer vote started by the server.\r\n[12:26:03] bJP-bgGE DEBUG: The server has called a crew transfer vote\r\n\r\n[12:27:05] bJP-bgGE VOTE: Vote Result: Add Antagonist\r\nSecond place: Initiate Crew Transfer, third place: Continue The Round\r\n[12:27:06] bJP-bgGE VOTE: Add_antagonist vote started by the server.\r\n[12:27:06] bJP-bgGE DEBUG: The server has called an add antag vote.\r\n\r\n[12:28:07] bJP-bgGE VOTE: Vote Result: Traitor\r\nSecond place: Space Wizard, third place: Rampant AI\r\n[12:28:07] bJP-bgGE DEBUG: Sgt_destruction had traitor enabled, so we are drafting them.\r\n[12:28:07] bJP-bgGE DEBUG: MetaphysicalPersona had traitor enabled, so we are drafting them.\r\n[12:28:07] bJP-bgGE DEBUG: Ty55101 had traitor enabled, so we are drafting them.\r\n[12:28:07] bJP-bgGE DEBUG: Gavinator9 had traitor enabled, so we are drafting them.\r\n[12:28:07] bJP-bgGE DEBUG: Sgt_destruction/(*) is not eligible to become a Traitor: They are blacklisted for this role!\r\n[12:28:07] bJP-bgGE DEBUG: MetaphysicalPersona/(*) is not eligible to become a Traitor: They already have a special role (Traitor)!\r\n[12:28:07] bJP-bgGE DEBUG: Ty55101/(*) is not eligible to become a Traitor: They are blacklisted for this role!\r\n[12:28:07] bJP-bgGE DEBUG: Gavinator9 is a ghost and can not be selected.\r\n\r\n[12:30:17] bJP-bgGE DEBUG: TRAITOR: Found 1/3 active Traitors.\r\n[12:30:17] bJP-bgGE DEBUG: Sgt_destruction had traitor enabled, so we are drafting them.\r\n[12:30:17] bJP-bgGE DEBUG: MetaphysicalPersona had traitor enabled, so we are drafting them.\r\n[12:30:17] bJP-bgGE DEBUG: Ty55101 had traitor enabled, so we are drafting them.\r\n[12:30:17] bJP-bgGE DEBUG: Gavinator9 had traitor enabled, so we are drafting them.\r\n[12:30:17] bJP-bgGE DEBUG: Sgt_destruction/(*) is not eligible to become a Traitor: They are blacklisted for this role!\r\n[12:30:17] bJP-bgGE DEBUG: MetaphysicalPersona/(*) is not eligible to become a Traitor: They already have a special role (Traitor)!\r\n[12:30:17] bJP-bgGE DEBUG: Ty55101/(*) is not eligible to become a Traitor: They are blacklisted for this role!\r\n[12:30:17] bJP-bgGE DEBUG: Gavinator9 has been selected for Traitor by lottery.\r\n[12:30:17] bJP-bgGE ACCESS: Logout: *no key*/(Dell Love)\r\n[12:30:17] bJP-bgGE ACCESS: Login: gavinator9/(Loreto Warren) from * || BYOND v510\r\n\r\n[12:30:25] bJP-bgGE SAY: Loreto Warren/gavinator9 : What.\r\n[12:30:31] bJP-bgGE SAY: Loreto Warren/gavinator9 : The fuck.\r\n```"},"comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/issues/comments/236409571","html_url":"https://github.com/Baystation12/Baystation12/issues/13847#issuecomment-236409571","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/13847","id":236409571,"user":{"login":"Kasuobes","id":17870662,"avatar_url":"https://avatars.githubusercontent.com/u/17870662?v=3","gravatar_id":"","url":"https://api.github.com/users/Kasuobes","html_url":"https://github.com/Kasuobes","followers_url":"https://api.github.com/users/Kasuobes/followers","following_url":"https://api.github.com/users/Kasuobes/following{/other_user}","gists_url":"https://api.github.com/users/Kasuobes/gists{/gist_id}","starred_url":"https://api.github.com/users/Kasuobes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kasuobes/subscriptions","organizations_url":"https://api.github.com/users/Kasuobes/orgs","repos_url":"https://api.github.com/users/Kasuobes/repos","events_url":"https://api.github.com/users/Kasuobes/events{/privacy}","received_events_url":"https://api.github.com/users/Kasuobes/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T04:37:45Z","updated_at":"2016-07-31T04:37:45Z","body":"Sounds suspiciously similar to #12801"}}
{"actor":{"display_login":"Kasuobes"}}