Fixed randomness condition on groups

This commit is contained in:
RodZill4 2019-11-06 23:55:09 +01:00
parent 8f4a525107
commit 46c2c1b684

View File

@ -22,7 +22,12 @@ func _post_load() -> void:
func has_randomness() -> bool: func has_randomness() -> bool:
return transmits_seed if !transmits_seed:
return false
for c in get_children():
if c.has_randomness() and !c.is_seed_locked():
return true
return false
func get_type() -> String: func get_type() -> String: