AntiBlackOut can be happening while we are still in lobby.
The old code is trash, it ends the game even when you are in lobby.
Leading to this issue. https://github.com/Impostor/Impostor/issues/646
Explained Changes:
Stop the game from starting if we are still in lobby and kick the f*cked player
Depending on the settings, we directly end the game or try to kick the f*cked player and continue the game
No matter the case, the f*cked player should be safely kicked.
Now the game ends immediately if the blackout rpc is received after Intro being displayed
Important : I didnt test the codes myself. Someone Please Review and test it before merging
It can be easily tested by manually sending AntiBlackOut Rpc as host & clients in different conditions mentioned above
AntiBlackOut can be happening while we are still in lobby. The old code is trash, it ends the game even when you are in lobby. Leading to this issue. https://github.com/Impostor/Impostor/issues/646
Explained Changes:
Important : I didnt test the codes myself. Someone Please Review and test it before merging It can be easily tested by manually sending AntiBlackOut Rpc as host & clients in different conditions mentioned above