diff options
Diffstat (limited to 'menu/menu.gd')
| -rw-r--r-- | menu/menu.gd | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/menu/menu.gd b/menu/menu.gd index 55c74fa..36beee8 100644 --- a/menu/menu.gd +++ b/menu/menu.gd @@ -5,6 +5,7 @@ const menu_items: Array = [ { label = "EXPORT FILTERS", action = "_menu_export_filters_action" }, { label = "CLEAR FILTERS", action = "_menu_clear_filters_action" }, { label = "ABOUT", action = "_menu_about_action" }, + { label = "FAKE_DB", action = "_menu_fake_db_action" }, ] const license_font_b612: String = "res://licenses/font_b612.txt" const license_godot: String = "res://licenses/godot.txt" @@ -96,17 +97,7 @@ func _menu_about_action(): (get_node("/root/main/about") as AcceptDialog).show_modal() -#func load_file(file: String): -# var f = File.new() -# f.open(file, File.READ) -# var index = 1 -# while not f.eof_reached(): # iterate through all lines until the end of file is reached -# var line = f.get_line() -# line += " " -# print(line + str(index)) -# -# index += 1 -# f.close() -# return +func _menu_fake_db_action(): + get_node("/root/main/database").fake_database() |
