Update for the newest voxelman.

This commit is contained in:
Relintai 2020-10-27 23:24:45 +01:00
parent c7a98e704d
commit 805928da18
4 changed files with 6 additions and 6 deletions

View File

@ -384,7 +384,7 @@ void Biome::_setup_library(Ref<VoxelmanLibrary> library) {
Ref<VoxelSurface> s = get_voxel_surface(i);
if (s.is_valid()) {
library->add_voxel_surface(s);
library->voxel_surface_add(s);
}
}
@ -404,7 +404,7 @@ void Biome::_setup_library(Ref<VoxelmanLibrary> library) {
Ref<PackedScene> pd = s->get_prop();
if (pd.is_valid())
library->add_prop(s->get_prop());
library->prop_add(s->get_prop());
}
}
#endif

View File

@ -799,7 +799,7 @@ void Dungeon::_setup_library(Ref<VoxelmanLibrary> library) {
Ref<VoxelSurface> s = get_voxel_surface(i);
if (s.is_valid()) {
library->add_voxel_surface(s);
library->voxel_surface_add(s);
}
}

View File

@ -413,7 +413,7 @@ void DungeonRoom::_setup_library(Ref<VoxelmanLibrary> library) {
Ref<VoxelSurface> s = get_voxel_surface(i);
if (s.is_valid()) {
library->add_voxel_surface(s);
library->voxel_surface_add(s);
}
}
@ -425,7 +425,7 @@ void DungeonRoom::_setup_library(Ref<VoxelmanLibrary> library) {
Ref<PackedScene> pd = s->get_prop();
if (pd.is_valid())
library->add_prop(pd);
library->prop_add(pd);
}
}
#endif

View File

@ -315,7 +315,7 @@ void Planet::_setup_library(Ref<VoxelmanLibrary> library) {
Ref<VoxelSurface> s = get_voxel_surface(i);
if (s.is_valid()) {
library->add_voxel_surface(s);
library->voxel_surface_add(s);
}
}