diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-15 16:29:02 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-15 16:29:02 +0100 |
commit | c9c5b5d7c2a238310ce7bde336f76d2d1b6f9f29 (patch) | |
tree | c6e935fea995752a0b307e56892e8422fb734c0e /scripts/load_turrets.gd | |
parent | 98f356e68b759bf84300290315d4ada09c41f79b (diff) |
moved shapes to loading area & fixed asset paths
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) |