mirror of
https://github.com/Relintai/world_generator.git
synced 2024-11-12 10:15:07 +01:00
Fix call parameters.
This commit is contained in:
parent
bc7b040fc3
commit
eed7f40e51
@ -282,7 +282,7 @@ void Biome::set_voxel_surfaces(const Vector<Variant> &voxel_surfaces) {
|
||||
|
||||
Ref<Biome> Biome::instance(const int seed) {
|
||||
if (has_method("_instance")) {
|
||||
return call("_instance", seed);
|
||||
return call("_instance", seed, Ref<Biome>());
|
||||
}
|
||||
|
||||
return Ref<Biome>();
|
||||
|
@ -464,7 +464,7 @@ void Dungeon::set_environment_datas(const Vector<Variant> &environment_datas) {
|
||||
|
||||
Ref<Dungeon> Dungeon::instance(const int seed) {
|
||||
if (has_method("_instance")) {
|
||||
return call("_instance", seed);
|
||||
return call("_instance", seed, Ref<Dungeon>());
|
||||
}
|
||||
|
||||
return Ref<Dungeon>();
|
||||
|
@ -322,7 +322,7 @@ void DungeonRoom::set_entity_datas(const Vector<Variant> &entity_datas) {
|
||||
|
||||
Ref<DungeonRoom> DungeonRoom::instance(const int seed) {
|
||||
if (has_method("_instance")) {
|
||||
return call("_instance", seed);
|
||||
return call("_instance", seed, Ref<DungeonRoom>());
|
||||
}
|
||||
|
||||
return Ref<DungeonRoom>();
|
||||
|
Loading…
Reference in New Issue
Block a user