Only launch dialogue when world map shown
This commit is contained in:
parent
dd9fc47787
commit
010aa5323d
@ -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() {
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user