Fix call parameters.

This commit is contained in:
Relintai 2020-07-21 22:53:09 +02:00
parent bc7b040fc3
commit eed7f40e51
3 changed files with 3 additions and 3 deletions

View File

@ -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>();

View File

@ -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>();

View File

@ -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>();