Skip to content

Commit b1c63c7

Browse files
committed
Remove old operation checks
1 parent cbaee07 commit b1c63c7

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

addons/dialogue_manager/dialogue_manager.gd

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -700,17 +700,6 @@ func compare(operator: String, first_value, second_value):
700700

701701

702702
func apply_operation(operator: String, first_value, second_value):
703-
if first_value == null:
704-
if typeof(second_value) == TYPE_BOOL and second_value == true:
705-
return false
706-
else:
707-
return second_value
708-
elif second_value == null:
709-
if typeof(first_value) == TYPE_BOOL and first_value == true:
710-
return false
711-
else:
712-
return first_value
713-
714703
match operator:
715704
"=":
716705
return second_value

0 commit comments

Comments
 (0)