Рефактор.

This commit is contained in:
sasha80
2024-06-20 10:37:25 +03:00
parent 3a8106e558
commit cdeacc09c8

View File

@@ -118,7 +118,6 @@ func map_error_codes_to_item(data, item, value_name: StringName):
if ret_val[1]:
values.append(int(ret_val[0]))
else:
push_error('ошибка: путь %s для $%s.%s не найден' % [paths_copy, item.name, value_name])
var test_res = 1 if values.count(int(0)) == values.size() else 2
item.set(value_name, test_res)