1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-11 18:39:21 +00:00

restore debug.disableAsserts

This commit is contained in:
Dimava 2020-06-13 23:29:17 +03:00
parent 9b39c7f8b5
commit 3c9c206af2
3 changed files with 25 additions and 1 deletions

View File

@ -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,
// -----------------------------------------------------------------------------------

View File

@ -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;
}

View File

@ -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: >-