Update src/scripts/inputManager.js
Use const instead of let Co-Authored-By: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
@@ -42,7 +42,7 @@ import appHost from 'apphost';
|
||||
|
||||
function checkCommandTime(command) {
|
||||
|
||||
let last = commandTimes[command] || 0;
|
||||
const last = commandTimes[command] || 0;
|
||||
const now = new Date().getTime();
|
||||
|
||||
if ((now - last) < 1000) {
|
||||
|
||||
Reference in New Issue
Block a user