Fix a few more issues with the same classes.

This commit is contained in:
Relintai 2021-02-21 19:40:31 +01:00
parent 5589b4f409
commit 195b2765a4
3 changed files with 6 additions and 12 deletions

View File

@ -22,10 +22,10 @@ extends Dungeon
# SOFTWARE.
func _setup():
if data.get_dungeon_start_room_data_count() == 0:
if get_dungeon_start_room_data_count() == 0:
return
var drd : DungeonRoom = data.get_dungeon_start_room_data(0)
var drd : DungeonRoom = get_dungeon_start_room_data(0)
var dung : DungeonRoom
if drd.target_script != null:

View File

@ -22,13 +22,10 @@ extends Planet
# SOFTWARE.
func _setup():
if data == null:
if get_biome_count() == 0:
return
if data.get_biome_data_count() == 0:
return
var bdata : Biome = data.get_biome_data(0)
var bdata : Biome = get_biome(0)
var b : Biome

View File

@ -22,13 +22,10 @@ extends Planet
# SOFTWARE.
func _setup():
if data == null:
if get_biome_count() == 0:
return
if data.get_biome_data_count() == 0:
return
var bdata : Biome = data.get_biome_data(0)
var bdata : Biome = get_biome(0)
var b : Biome