mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Fixed randomness condition on groups
This commit is contained in:
parent
8f4a525107
commit
46c2c1b684
@ -22,7 +22,12 @@ func _post_load() -> void:
|
||||
|
||||
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user