mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-12 02:49:20 +00:00
restore debug.disableAsserts
This commit is contained in:
parent
9b39c7f8b5
commit
3c9c206af2
@ -47,6 +47,15 @@ export default {
|
|||||||
// Disables the dialog when completing a level
|
// Disables the dialog when completing a level
|
||||||
disableUnlockDialog: false,
|
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.
|
// Disables the simulation - This effectively pauses the game.
|
||||||
disableLogicTicks: false,
|
disableLogicTicks: false,
|
||||||
// -----------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -75,7 +75,7 @@ export class DynamicTickrate {
|
|||||||
decreaseTickRate() {
|
decreaseTickRate() {
|
||||||
const desiredFps = this.root.app.settings.getDesiredFps();
|
const desiredFps = this.root.app.settings.getDesiredFps();
|
||||||
if ((G_IS_DEV && globalConfig.debug.renderForTrailer) || globalConfig.debug.disableDynamicTickrate) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -747,6 +747,21 @@ settings:
|
|||||||
description: >-
|
description: >-
|
||||||
Disables the dialog when completing a level
|
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:
|
debug_disableLogicTicks:
|
||||||
title: DEBUG / disable Logic Ticks
|
title: DEBUG / disable Logic Ticks
|
||||||
description: >-
|
description: >-
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user