aboutsummaryrefslogtreecommitdiff
path: root/scripts/load_shapes.gd
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-02-08 14:14:42 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-02-08 14:14:42 +0100
commite0a389ff5964c34022fb90d9c3fb29053567ec65 (patch)
tree8d6dd57951e7532f6864c90a46bd288371bcfd3d /scripts/load_shapes.gd
parenteea642395bb0ef706c7241d4a749f3e0ac4cc460 (diff)
enemy colorsHEADmain
Diffstat (limited to 'scripts/load_shapes.gd')
-rw-r--r--scripts/load_shapes.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/load_shapes.gd b/scripts/load_shapes.gd
index 289afd9..d7b0d71 100644
--- a/scripts/load_shapes.gd
+++ b/scripts/load_shapes.gd
@@ -40,6 +40,11 @@ func load_info():
var parsed = saveload.load_parse_json("res://assets/json/" + f)
if parsed != null:
for tin in parsed:
+ tin.color = Color(
+ tin.color[0],
+ tin.color[1],
+ tin.color[2],
+ tin.color[3])
info[tin.name] = tin