diff --git a/game/Debug.js b/game/Debug.js index 1306d08..35c6925 100644 --- a/game/Debug.js +++ b/game/Debug.js @@ -11,12 +11,12 @@ const checkpoint_start = (mindiff) => { } const checkpoint = (label) => { - const now = performance.now(); + const now = performance.now() const diff = now - _pt if (diff > _mindiff) { - log.log(label + ': ' + (diff)); + log.log(label + ': ' + (diff)) } - _pt = now; + _pt = now } export default {