Skip to content

Commit aebd1c6

Browse files
fix extra indent in _init_mod_data (no edits to these lines apart from the indent fix)
1 parent cf3a5b4 commit aebd1c6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

loader/mod_loader.gd

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -196,18 +196,18 @@ func _load_mod_zips():
196196

197197

198198
func _init_mod_data(mod_folder_path):
199-
# The file name should be a valid mod id
200-
var mod_id = _get_file_name(mod_folder_path, false, true)
201-
202-
mod_data[mod_id] = {}
203-
mod_data[mod_id].file_paths = []
204-
mod_data[mod_id].required_files_path = {}
205-
mod_data[mod_id].is_loadable = true
206-
mod_data[mod_id].importance = 0
207-
208-
# Get the mod file paths
209-
var local_mod_path = str("res://", mod_id)
210-
mod_data[mod_id].file_paths = get_flat_view_dict(local_mod_path)
199+
# The file name should be a valid mod id
200+
var mod_id = _get_file_name(mod_folder_path, false, true)
201+
202+
mod_data[mod_id] = {}
203+
mod_data[mod_id].file_paths = []
204+
mod_data[mod_id].required_files_path = {}
205+
mod_data[mod_id].is_loadable = true
206+
mod_data[mod_id].importance = 0
207+
208+
# Get the mod file paths
209+
var local_mod_path = str("res://", mod_id)
210+
mod_data[mod_id].file_paths = get_flat_view_dict(local_mod_path)
211211

212212

213213
# Make sure the required mod files are there

0 commit comments

Comments
 (0)