param: afegits comentaris a tots els parametres
param: afegit parametre per a establir a partir de quin segon es pot saltar el compte enrere de continuar
This commit is contained in:
@@ -1539,7 +1539,7 @@ void Game::handlePlayerContinue(const std::shared_ptr<Player> &player)
|
||||
input_->checkInput(InputAction::FIRE_CENTER, INPUT_DO_NOT_ALLOW_REPEAT, Options::controllers[controllerIndex].type, Options::controllers[controllerIndex].index) ||
|
||||
input_->checkInput(InputAction::FIRE_RIGHT, INPUT_DO_NOT_ALLOW_REPEAT, Options::controllers[controllerIndex].type, Options::controllers[controllerIndex].index))
|
||||
{
|
||||
if (player->getContinueCounter() < 7)
|
||||
if (player->getContinueCounter() < param.scoreboard.skip_countdown_value)
|
||||
{
|
||||
player->decContinueCounter();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user