mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Allow changing keybindings in the demo version
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
export const CHANGELOG = [
|
||||
{
|
||||
version: "1.0.4",
|
||||
date: "unreleased",
|
||||
date: "26.05.2020",
|
||||
entries: [
|
||||
"<strong>Balancing</strong> Reduce cost of first painting upgrade, and change 'Shape Processing' to 'Cutting, Rotating & Stacking'",
|
||||
"<strong>Tutorial</strong> Add dialog after completing level 2 to check out the upgrades tab.",
|
||||
"<strong>Misc</strong> Allow changing the keybindings in the demo version",
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -94,7 +94,7 @@ export const globalConfig = {
|
||||
// showChunkBorders: true,
|
||||
// rewardsInstant: true,
|
||||
// allBuildingsUnlocked: true,
|
||||
upgradesNoCost: true,
|
||||
// upgradesNoCost: true,
|
||||
// disableUnlockDialog: true,
|
||||
// disableLogicTicks: true,
|
||||
// testClipping: true,
|
||||
@@ -102,7 +102,7 @@ export const globalConfig = {
|
||||
// testTranslations: true,
|
||||
// enableEntityInspector: true,
|
||||
// testAds: true,
|
||||
disableMapOverview: true,
|
||||
// disableMapOverview: true,
|
||||
/* dev:end */
|
||||
},
|
||||
|
||||
|
||||
@@ -82,10 +82,10 @@ export class KeybindingsState extends TextualGameState {
|
||||
}
|
||||
|
||||
editKeybinding(id) {
|
||||
if (IS_DEMO) {
|
||||
this.dialogs.showFeatureRestrictionInfo(T.demo.features.customizeKeybindings);
|
||||
return;
|
||||
}
|
||||
// if (IS_DEMO) {
|
||||
// this.dialogs.showFeatureRestrictionInfo(T.demo.features.customizeKeybindings);
|
||||
// return;
|
||||
// }
|
||||
|
||||
const dialog = new Dialog({
|
||||
app: this.app,
|
||||
|
||||
Reference in New Issue
Block a user