aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-04-11 15:38:12 +0000
committerdam <dam@gudinoff>2022-04-11 15:38:12 +0000
commit4534e6c5d0981972b3174dd82c0d7ba5aadb5139 (patch)
tree115143747c200d7f011d63df22e8aacaa0320b8b
parent2d7da6bbc23fb917dfe931eaeb5566da0a102ac3 (diff)
downloadsurgery-log-4534e6c5d0981972b3174dd82c0d7ba5aadb5139.tar.zst
surgery-log-4534e6c5d0981972b3174dd82c0d7ba5aadb5139.zip
Bumped to version 1.0. Version stored in project settings global/version.
-rw-r--r--logic/menu.gd2
-rw-r--r--project.godot4
2 files changed, 5 insertions, 1 deletions
diff --git a/logic/menu.gd b/logic/menu.gd
index d6e1501..caa39d1 100644
--- a/logic/menu.gd
+++ b/logic/menu.gd
@@ -115,7 +115,7 @@ func clear_database():
func about_action():
- dialog.setup("Surgery Log\nversion 0.1", "", "")
+ dialog.setup("Surgery Log\nversion %s" % ProjectSettings.get_setting("global/version"), "", "")
popup.open_popup("About", dialog)
diff --git a/project.godot b/project.godot
index ebb4f56..b71ddf9 100644
--- a/project.godot
+++ b/project.godot
@@ -104,6 +104,10 @@ window/size/test_height=1024
window/energy_saving/keep_screen_on=false
window/handheld/orientation="portrait"
+[global]
+
+version="1.0"
+
[input_devices]
pointing/emulate_touch_from_mouse=true