Fix GDScript warnings pertaining to unused arguments

Those warnings can be ignored by prefixing the argument with an
underscore.
This commit is contained in:
Hugo Locurcio 2019-12-27 16:14:01 +01:00
parent e06586edce
commit 386473845e
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
5 changed files with 6 additions and 7 deletions

View file

@ -115,5 +115,5 @@ func _on_EditPaletteColorPicker_color_changed(color : Color) -> void:
working_palette.set_color(current_swatch, color)
_refresh_hint_tooltip(current_swatch)
func _refresh_hint_tooltip(index : int):
func _refresh_hint_tooltip(_index : int):
palette_grid.get_child(current_swatch).hint_tooltip = "#" + working_palette.get_color_data(current_swatch).to_upper() + " " + working_palette.get_color_name(current_swatch)