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

Cleanup first game experience

This commit is contained in:
tobspr
2020-06-01 19:58:36 +02:00
parent d09a593f81
commit 5cd4dba54a
9 changed files with 15 additions and 46 deletions

View File

@@ -23,10 +23,6 @@ export class HUDKeybindingOverlay extends BaseHUDPart {
"ingame_HUD_KeybindingOverlay",
[],
`
<div class="binding">
<code class="keybinding">${getKeycode(KEYMAPPINGS.navigation.createMarker)}</code>
<label>${T.ingame.keybindingsOverlay.createMarker}</label>
</div>
<div class="binding">
<code class="keybinding leftMouse noPlacementOnly"></code><i class="noPlacementOnly"></i>

View File

@@ -55,15 +55,6 @@ export class HUDPartTutorialHints extends BaseHUDPart {
this.domAttach = new DynamicDomAttach(this.root, this.element);
this.currentShownLevel = new TrackedState(this.updateVideoUrl, this);
this.root.signals.postLoadHook.add(() => {
if (this.root.hubGoals.level === 1 && !(G_IS_DEV && globalConfig.debug.disableTutorialHints)) {
this.root.hud.parts.dialogs.showInfo(
T.dialogs.hintDescription.title,
T.dialogs.hintDescription.desc
);
}
});
}
updateVideoUrl(level) {