diff --git a/src/js/core/config.local.js b/src/js/core/config.local.js index eede078b..9dd955fe 100644 --- a/src/js/core/config.local.js +++ b/src/js/core/config.local.js @@ -47,6 +47,15 @@ export default { // Disables the dialog when completing a level disableUnlockDialog: false, // ----------------------------------------------------------------------------------- + // Speed ups the game at the cost of not checking obvious things. + debug_disableInternalCheckTile: false, + // ----------------------------------------------------------------------------------- + // Speed ups the game at the cost of not checking obvious things. + debug_disableGetTileAsserts: false, + // ----------------------------------------------------------------------------------- + // Speed ups the game at the cost of not checking obvious things. + debug_disableBeltAsserts: false, + // ----------------------------------------------------------------------------------- // Disables the simulation - This effectively pauses the game. disableLogicTicks: false, // ----------------------------------------------------------------------------------- diff --git a/src/js/game/dynamic_tickrate.js b/src/js/game/dynamic_tickrate.js index e9979494..aef0bc24 100644 --- a/src/js/game/dynamic_tickrate.js +++ b/src/js/game/dynamic_tickrate.js @@ -75,7 +75,7 @@ export class DynamicTickrate { decreaseTickRate() { const desiredFps = this.root.app.settings.getDesiredFps(); if ((G_IS_DEV && globalConfig.debug.renderForTrailer) || globalConfig.debug.disableDynamicTickrate) { - this.setTickRate(Math_round(Math_max(desiredFps, this.currentTickRate * 0.8))); + this.setTickRate(Math_round(Math_max(desiredFps, this.currentTickRate * 0.8))); return; } diff --git a/translations/base-en.yaml b/translations/base-en.yaml index f889f9e0..ea8d876c 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -747,6 +747,21 @@ settings: description: >- Disables the dialog when completing a level # ----------------------------------------------------------------------------------- + debug_disableInternalCheckTile: + title: DEBUG / disable Internal Check Tile + description: >- + Speed ups the game at the cost of not checking obvious things + # ----------------------------------------------------------------------------------- + debug_disableGetTileAsserts: + title: DEBUG / disable Get Tile Asserts + description: >- + Speed ups the game at the cost of not checking obvious things + # ----------------------------------------------------------------------------------- + debug_disableBeltAsserts: + title: DEBUG / disable Belt Asserts + description: >- + Speed ups the game at the cost of not checking obvious things + # ----------------------------------------------------------------------------------- debug_disableLogicTicks: title: DEBUG / disable Logic Ticks description: >-