From 08c168efb6c503c145bcf8cae3a74ebdd99b39da Mon Sep 17 00:00:00 2001 From: Bruno Bianchi Mello Date: Mon, 8 Apr 2019 04:47:23 -0300 Subject: [PATCH] Increased move keys delay on menu a little more. --- gaster_fight/player.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gaster_fight/player.cpp b/gaster_fight/player.cpp index 0d3819e..9f87c2a 100644 --- a/gaster_fight/player.cpp +++ b/gaster_fight/player.cpp @@ -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) @@ -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))