fixed timer delays
This commit is contained in:
parent
606c53e89c
commit
10288383df
@ -71,7 +71,7 @@ public class WindowOfFreeMove extends JFrame {
|
|||||||
dialogBar.setBackground(Color.BLACK);
|
dialogBar.setBackground(Color.BLACK);
|
||||||
dialogBar.setVisible(false);
|
dialogBar.setVisible(false);
|
||||||
|
|
||||||
inputTimer = new Timer(13, new ActionListener() {
|
inputTimer = new Timer(17, new ActionListener() {
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent actionEvent) {
|
public void actionPerformed(ActionEvent actionEvent) {
|
||||||
if (!map.getPerson().getIsMoving()) {
|
if (!map.getPerson().getIsMoving()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user