fix most of the script errors and warnings, fixed a couple tiny bugs in the process :)

This commit is contained in:
Haze Weathers 2024-03-08 15:11:48 -05:00
parent 9435089f21
commit 72733db609
23 changed files with 55 additions and 63 deletions

View file

@ -22,8 +22,8 @@ func _ready():
#Change color
_set_color(color)
func _set_color(value):
color = value
func _set_color(new_color):
color = new_color
if is_inside_tree():
sprite.material.set_shader_param("palette", COLORS[color])
$Sparkles.color = particle_colors[color]