diff options
Diffstat (limited to 'scripts/load_turrets.gd')
-rw-r--r-- | scripts/load_turrets.gd | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/scripts/load_turrets.gd b/scripts/load_turrets.gd index ba2e198..2b96652 100644 --- a/scripts/load_turrets.gd +++ b/scripts/load_turrets.gd @@ -41,12 +41,6 @@ func load_info(): func load_models(): models.clear() - var files = saveload.parse_dir("res://models/turrets", ".glb") + var files = saveload.parse_dir("res://assets/models/turrets", ".glb") for turr in files: - models[turr] = load("res://models/turrets/" + turr) - -func load_thumbs(): - thumbs.clear() - var files = saveload.parse_dir("res://textures/thumbnails", ".png") - for turr in files: - thumbs[turr] = load("res://textures/thumbnails/" + turr) + models[turr] = load("res://assets/models/turrets/" + turr) |