Fixed missing VoxelWorld class error.

This commit is contained in:
Relintai 2021-12-19 14:20:47 +01:00
parent 18b9a02e31
commit a643072963

View File

@ -41,7 +41,7 @@ var connect_button : Button
var naturalist_button : Button
var player : Entity
var terrarin : VoxelWorld
var terrarin : TerraWorld
var spawned : bool = false
@ -61,7 +61,7 @@ func _ready():
naturalist_button = get_node(naturalist_button_path)
naturalist_button.connect("pressed", self, "_on_client_naturalist_button_clicked")
terrarin = get_node(terrarin_path) as VoxelWorld
terrarin = get_node(terrarin_path) as TerraWorld
Server.connect("cplayer_master_created", self, "_cplayer_master_created")