From 0a0c639bad3ca860df7c6615cf5ea9458a51bfcd Mon Sep 17 00:00:00 2001 From: Julien Machiels Date: Fri, 10 Apr 2020 23:35:09 +0200 Subject: [PATCH] Update src/scripts/inputManager.js Use const instead of let Co-Authored-By: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/scripts/inputManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/inputManager.js b/src/scripts/inputManager.js index 1f65230154..cacc6c99a3 100644 --- a/src/scripts/inputManager.js +++ b/src/scripts/inputManager.js @@ -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) {