Only launch dialogue when world map shown

This commit is contained in:
3wc 2024-02-14 12:33:05 -03:00
parent dd9fc47787
commit 010aa5323d
2 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,6 @@ class Game extends hxd.App {
hxd.Res.text.intro.entry.name,
];
dialogueManager.load(yarnText, yarnFileNames);
dialogueManager.runNode("Intro");
}
public function new() {

View File

@ -42,6 +42,8 @@ class WorldMapScene extends h2d.Flow implements GameScene implements h2d.domkit.
layers.set(ld.name, l);
rebuildLayer(ld.name);
}
Game.current.dialogueManager.runNode("Intro");
}
public function getH2dObject() {