Skip to content

Commit 08c168e

Browse files
committed
Increased move keys delay on menu a little more.
1 parent 09c33d9 commit 08c168e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gaster_fight/player.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,10 @@ void Player::Update()
232232
{
233233
this->button_hovered--;
234234
}
235+
this->HoverButton(this->button_hovered);
236+
button_hover_move_tick = current_tick + 250;
235237
}
238+
236239
else if (sf::Keyboard::isKeyPressed(sf::Keyboard::Right))
237240
{
238241
if (this->button_hovered == Button_Type::Mercy_Button)
@@ -243,9 +246,9 @@ void Player::Update()
243246
{
244247
this->button_hovered++;
245248
}
249+
this->HoverButton(this->button_hovered);
250+
button_hover_move_tick = current_tick + 250;
246251
}
247-
this->HoverButton(this->button_hovered);
248-
button_hover_move_tick = current_tick + 200;
249252
}
250253

251254
if (sf::Keyboard::isKeyPressed(sf::Keyboard::Z))

0 commit comments

Comments
 (0)