diff --git a/game/scripts/interface/color_picker.rpy b/game/scripts/interface/color_picker.rpy index 4ff9cad0..8d60eda7 100644 --- a/game/scripts/interface/color_picker.rpy +++ b/game/scripts/interface/color_picker.rpy @@ -234,11 +234,9 @@ define hue_gradient_image = HueSlider() init -1 python: - def color_picker(color=[0,0,0,0], alpha=True, title="Pick a colour", pos_xy=(240, 130), color_default=None): - # TODO: Remove external dependencies and utilise built-in Color class instead. - + def color_picker(color=(0,0,0,0), alpha=True, title="Pick a colour", pos_xy=(240, 130), color_default=None): global picking_color - picking_color = color # Color object (list) to be updated live + picking_color = list(color) # Color object (list) to be updated live start_color = list(color) # Keep a copy renpy.show_screen("color_picker", tuple(color), alpha, title, pos_xy, color_default)