From 340a885cd7725c5b0f5659ea1b0d14ccd5431101 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 12 Jan 2020 02:22:37 +0200 Subject: [PATCH] Fixed crash on Godot 3.2.beta6 when pressing the Edit Palette button Oddly enough, this crash did not occur on Godot 3.1.2 or even Godot 3.2.beta5 --- Scripts/Palette/PaletteContainer.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Palette/PaletteContainer.gd b/Scripts/Palette/PaletteContainer.gd index 08e49dab0..9b7f1e79b 100644 --- a/Scripts/Palette/PaletteContainer.gd +++ b/Scripts/Palette/PaletteContainer.gd @@ -106,7 +106,7 @@ func create_new_palette(name : String, _from_palette : Palette) -> String: # Ret return "" func on_edit_palette() -> void: - var palette : Dictionary = Global.palettes[current_palette] + var palette : Palette = Global.palettes[current_palette] var create_new_palette := true # Create new palette by default if palette.editable: