Fixed palette issue where, when you changed palette, you would still select colors from the Default palette

Also removed "pass" from the methods, since their purpose is to prevent errors from empty functions and they don't do anything else besides that.
This commit is contained in:
OverloadedOrama 2019-12-16 00:14:17 +02:00
parent 5301131670
commit ed42cdaef1
2 changed files with 2 additions and 16 deletions

View file

@ -1042,4 +1042,3 @@ func _exit_tree() -> void:
func _on_PaletteOptionButton_item_selected(ID) -> void:
var palette_name = Global.palette_option_button.get_item_metadata(ID)
Global.palette_container.on_palette_select(palette_name)
pass