Open sshado opened 9 years ago
The proc that appears to be causing this is /hook/roundstart/proc/spawn_empty_ai(). It is located in code\modules\mob\living\silicon\ai\latejoin.dm I believe it is not checking to see if an AI was spawned by the malf game mode before spawning another empty core.
Working on it.
Should be fixed in #196
Oh you beat me to the punch. I'll snag your branch and test it like you asked on gitter.
That fix is a no go. While it stops the AI core from spawning during malf, it also stops if from spawning during any other game mode.
...What? That doesn't make any sense. It should only return 0 when the gamemode is malfunction. Huh.
After checking I can confirm that this currently exists in baycode as well.
Oh my apologies I had the results from your attempt and mine swapped. This edit here still allows the extra core to spawn during malf. My own attempt (259edfad991eaf1b2d3f014c31b5f38e8d7c7e56) ended with the removal of the core in all situations.
When a malfunction AI is spawned as part of round start, another player is able to join as an AI player after everyone has spawned. The second AI is not malfunction, and spawns right on top of the original AI. Players should not be able to do this!