mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Fix a few more issues with the same classes.
This commit is contained in:
parent
5589b4f409
commit
195b2765a4
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user