mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Bugfix: else repeat_rightclick_timer = 0;
This commit is contained in:
parent
61f5ca6b16
commit
c691d619c2
@ -2316,6 +2316,8 @@ void the_game(
|
|||||||
|
|
||||||
if(input->getRightState())
|
if(input->getRightState())
|
||||||
repeat_rightclick_timer += dtime;
|
repeat_rightclick_timer += dtime;
|
||||||
|
else
|
||||||
|
repeat_rightclick_timer = 0;
|
||||||
|
|
||||||
if(playeritem_usable && input->getLeftState())
|
if(playeritem_usable && input->getLeftState())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user