diff --git a/Figures/Regular.gd b/Figures/Regular.gd index 889230d..29493f2 100644 --- a/Figures/Regular.gd +++ b/Figures/Regular.gd @@ -13,7 +13,8 @@ func set_edge(value): func update_local_values(): - edge = float(Insp.get_properties_by_id("edge")) + if Insp.get_properties_by_id("edge"): + edge = float(Insp.get_properties_by_id("edge")) func _physics_process(_delta):