diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-02-08 14:14:42 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-02-08 14:14:42 +0100 |
commit | e0a389ff5964c34022fb90d9c3fb29053567ec65 (patch) | |
tree | 8d6dd57951e7532f6864c90a46bd288371bcfd3d /scripts/load_shapes.gd | |
parent | eea642395bb0ef706c7241d4a749f3e0ac4cc460 (diff) |
Diffstat (limited to 'scripts/load_shapes.gd')
-rw-r--r-- | scripts/load_shapes.gd | 5 |
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 |