B:BD[
2.16597] → [
2.16597:16805]
if ($state['type'] === "multipleactiveplayer") {
// Make sure player is in a non blocking status for role turn
$this->gamestate->setPlayerNonMultiactive( $active_player, '' );
if ($statename === "playerTurn") {
// For the zombie player not to block the mini-game to be able to
// finish, the zombie must not count as a "still unsolved player".
// Thus we let zombie fake-solve, but giving 0 VP. This makes the
// player inactive and lets all real players finish.
self::DbQuery("
UPDATE player
SET player_solved_in_round = " . self::getGameStateValue('minigame_round') . "
WHERE player_id = $player_id
");
self::notifyAllPlayers(
'playerSolved',
'',
array(
'player_id' => $player_id,
)
);
$this->gamestate->nextState('nextTurn');