Исправление. Настройки не загружаются
This commit is contained in:
@@ -69,7 +69,7 @@ func _ready() -> void:
|
||||
continue
|
||||
temp_array.append([])
|
||||
for i in len(json_data[key]) - 1:
|
||||
if tools.type_is_num(json_data[key][i+1]) == tools.type_is_num(UnitProfiles[key][2][i]):
|
||||
if tools.type_is_num(json_data[key][i+1]) and tools.type_is_num(UnitProfiles[key][2][i]):
|
||||
if typeof(UnitProfiles[key][2][i]) == TYPE_INT:
|
||||
temp_array[1].append(int(json_data[key][i+1]))
|
||||
elif typeof(UnitProfiles[key][2][i]) == TYPE_FLOAT:
|
||||
|
||||
Reference in New Issue
Block a user