Fix issue and code style
This commit is contained in:
parent
899bd338df
commit
71b78da86a
1 changed files with 3 additions and 3 deletions
|
@ -130,15 +130,15 @@ func get_scene_collection_list(type: CoreTypes.SceneType) -> Array[Node]:
|
|||
var list: Array[Node] = []
|
||||
for scene in scenes:
|
||||
if scenes[scene]["type"] == type:
|
||||
list.append(scene)
|
||||
list.append(scenes[scene]["class"])
|
||||
return list
|
||||
|
||||
# Return scene count in some scene collection
|
||||
func get_scene_collection_count(type: CoreTypes.SceneType) -> int:
|
||||
var amount: int = 0
|
||||
for scene in scenes:
|
||||
if scene[scene]["type"] == type:
|
||||
amount = amount+1
|
||||
if scenes[scene]["type"] == type:
|
||||
amount += 1
|
||||
return amount
|
||||
|
||||
# Return scene existance & scene collection
|
||||
|
|
Loading…
Reference in a new issue