From 224c4f85a23221585f10e5536f512678e1a45592 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 20 Dec 2019 17:06:51 +0100 Subject: [PATCH] Fix runtime error. --- game/scenes/World.gd | 8 ++++++++ game/scenes/World.tscn | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 game/scenes/World.gd diff --git a/game/scenes/World.gd b/game/scenes/World.gd new file mode 100644 index 0000000..15679ea --- /dev/null +++ b/game/scenes/World.gd @@ -0,0 +1,8 @@ +extends Navigation2D + + +func _ready(): + pass # Replace with function body. + +func load_character(current_character_file_name): + pass diff --git a/game/scenes/World.tscn b/game/scenes/World.tscn index 99e7f62..d847ec8 100644 --- a/game/scenes/World.tscn +++ b/game/scenes/World.tscn @@ -1,5 +1,6 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 format=2] +[ext_resource path="res://scenes/World.gd" type="Script" id=1] [ext_resource path="res://scripts/settings/DirectionalLightSettings.gd" type="Script" id=3] [sub_resource type="ProceduralSky" id=1] @@ -49,6 +50,7 @@ adjustment_contrast = 1.25 [node name="World" type="Navigation2D" groups=[ "save", ]] +script = ExtResource( 1 ) [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource( 2 )