mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Bugfix: else repeat_rightclick_timer = 0;
This commit is contained in:
parent
61f5ca6b16
commit
c691d619c2
1 changed files with 2 additions and 0 deletions
|
@ -2316,6 +2316,8 @@ void the_game(
|
|||
|
||||
if(input->getRightState())
|
||||
repeat_rightclick_timer += dtime;
|
||||
else
|
||||
repeat_rightclick_timer = 0;
|
||||
|
||||
if(playeritem_usable && input->getLeftState())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue