Skip to content

Commit

Permalink
Increased move keys delay on menu a little more.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brunoo16 committed Apr 8, 2019
1 parent 09c33d9 commit 08c168e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions gaster_fight/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,10 @@ void Player::Update()
{
this->button_hovered--;
}
this->HoverButton(this->button_hovered);
button_hover_move_tick = current_tick + 250;
}

else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Right))
{
if (this->button_hovered == Button_Type::Mercy_Button)
Expand All @@ -243,9 +246,9 @@ void Player::Update()
{
this->button_hovered++;
}
this->HoverButton(this->button_hovered);
button_hover_move_tick = current_tick + 250;
}
this->HoverButton(this->button_hovered);
button_hover_move_tick = current_tick + 200;
}

if (sf::Keyboard::isKeyPressed(sf::Keyboard::Z))
Expand Down

0 comments on commit 08c168e

Please sign in to comment.