forked from Mirrorlandia_minetest/minetest
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