From 7d3739eebf9be94ab003d218ee425c1ebf281d63 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 11 May 2024 02:57:14 +0200 Subject: [PATCH] Update to 4d7717b3bfafb646eda287e9f0f6af197769e6da --- src/classes/validationschema.gd | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/classes/validationschema.gd b/src/classes/validationschema.gd index c1ce8c0..c3c30a6 100644 --- a/src/classes/validationschema.gd +++ b/src/classes/validationschema.gd @@ -65,11 +65,7 @@ func _check_dictionary_recursive(parent_dict: Dictionary, path: String = "") -> return success func evaluate() -> Array[String]: - var random: String = str(randf()).repeat(50) - var failed: Array[String] = [] - _evaluate_recursive(random, schema) - - return failed + return _evaluate_recursive(str(randf()).repeat(50), schema) func _evaluate_recursive(random: String, parent_dict: Dictionary, path: String = "") -> Array[String]: var failed: Array[String] = []