cleans up some compiler warnings
This commit is contained in:
parent
a7aad7d99f
commit
999c7989f3
@ -88,7 +88,6 @@ func get_card_data_from_id(id: String) -> Dictionary:
|
||||
|
||||
|
||||
func _search_results_name(search_query: String) -> Dictionary:
|
||||
var selected_entry = null
|
||||
for entry in _bulk_data:
|
||||
if entry["layout"] == "art_series":
|
||||
continue
|
||||
@ -102,7 +101,6 @@ func _search_results_name(search_query: String) -> Dictionary:
|
||||
|
||||
|
||||
func _search_results_generic(field: String, search_query: String) -> Dictionary:
|
||||
var selected_entry = null
|
||||
for entry in _bulk_data:
|
||||
if entry["layout"] == "art_series":
|
||||
continue
|
||||
|
@ -45,12 +45,12 @@ func _do_free(cache) -> void:
|
||||
cache.queue_free()
|
||||
|
||||
|
||||
func add_new_deck(cards: String, name: String, about = "") -> void:
|
||||
func add_new_deck(cards: String, _name: String, about = "") -> void:
|
||||
var _queries = _convert_mtgo_to_cache_lookup(cards)
|
||||
_do_decklist_cache(_queries)
|
||||
|
||||
var _decks = load_decks()
|
||||
_decks.push_back({"name": name, "about": about, "decklist": _queries})
|
||||
_decks.push_back({"name": _name, "about": about, "decklist": _queries})
|
||||
_write_to_decks(_decks)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user