Fix runtime error.

This commit is contained in:
Relintai 2019-12-20 17:06:51 +01:00
parent 528f4e8cef
commit 224c4f85a2
2 changed files with 11 additions and 1 deletions

8
game/scenes/World.gd Normal file
View File

@ -0,0 +1,8 @@
extends Navigation2D
func _ready():
pass # Replace with function body.
func load_character(current_character_file_name):
pass

View File

@ -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] [ext_resource path="res://scripts/settings/DirectionalLightSettings.gd" type="Script" id=3]
[sub_resource type="ProceduralSky" id=1] [sub_resource type="ProceduralSky" id=1]
@ -49,6 +50,7 @@ adjustment_contrast = 1.25
[node name="World" type="Navigation2D" groups=[ [node name="World" type="Navigation2D" groups=[
"save", "save",
]] ]]
script = ExtResource( 1 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 ) environment = SubResource( 2 )