Skip to content

Commit 8b29f9d

Browse files
committed
Process now have two separate functions, fixed tests
1 parent 77a0ebc commit 8b29f9d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/test_files/processor/add_id_processor.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends JSONConfigProcessor
22

33

4-
func _process(dic : Dictionary):
4+
func _postprocess(dic : Dictionary):
55
if not has_variable("id"):
66
dic.id = 0
77
set_variable("id", 0)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends JSONConfigProcessor
22

33

4-
func _process(maximum : int):
4+
func _postprocess(maximum : int):
55
set_variable("max", maximum)
66

77
return maximum
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends JSONConfigProcessor
22

33

4-
func _process(minimum : int):
4+
func _postprocess(minimum : int):
55
set_variable("min", minimum)
66

77
return minimum

test/test_files/processor/set_range_processor.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends JSONConfigProcessor
22

33

4-
func _process(_value):
4+
func _preprocess():
55
if has_variable("min"):
66
get_property().set_min_value(get_variable("min"))
77
if has_variable("max"):

0 commit comments

Comments
 (0)