From 3792c80cd271ffd775798c4370ea1ac0bb4f415c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20H=C3=BCbner?= Date: Fri, 21 Sep 2018 21:14:12 +0200 Subject: [PATCH] bikeshedding --- data.gd | 3 +++ game.gd | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/data.gd b/data.gd index fb770a7..6faf9f5 100644 --- a/data.gd +++ b/data.gd @@ -8,18 +8,21 @@ const brain_voice = null const arborator_voice = null const Characters = { + BRAIN = { name = "~brain~", name_colour = Color(1, 1, 1, 1), voice = brain_voice, talking_speed = 1.0, }, + ARBORATOR = { name = "arborator", name_colour = Color(1, 1, 1, 1), voice = arborator_voice, talking_speed = 1.0, } + } const Scenes = { diff --git a/game.gd b/game.gd index a5c4667..0c9fc44 100644 --- a/game.gd +++ b/game.gd @@ -90,7 +90,7 @@ func switch_scene_to(scene_path, fade = true): if fade: transition.start_transition() yield(transition, "on_transition_time") - + SceneSwitcher.goto_scene(scene_path) if fade: