mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 17:24:44 -04:00
Fix GDScript warnings pertaining to unused arguments
Those warnings can be ignored by prefixing the argument with an underscore.
This commit is contained in:
parent
e06586edce
commit
386473845e
5 changed files with 6 additions and 7 deletions
|
@ -43,7 +43,6 @@ func on_import_palette() -> void:
|
|||
Global.palette_import_file_dialog.popup_centered()
|
||||
|
||||
func on_palette_import_file_selected(path) -> void:
|
||||
var file := File.new()
|
||||
var palette : Palette = null
|
||||
if path.to_lower().ends_with("json"):
|
||||
palette = Palette.new().load_from_file(path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue