Open the About popup the first time a new version starts
Build / test (push) Successful in 46s
Build / build (push) Successful in 1m12s

The last version the About popup was shown for is saved as last_seen_version in
settings.cfg. When the game starts with another version, About opens to show
what is new.
This commit is contained in:
Sansan committed 2026-10-07 22:12:39 +02:00
1 parent 41974ea5e3
commit b120440404
7 files changed
+77 -1

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ func before_test() -> void:
Settings.hide_next_track = true
Settings.use_low_played_mode = false
Settings.winning_score = 20
# Otherwise the About popup opens at start, as for a new version
Settings.last_seen_version = Settings.version
_server = FakeHttpTransport.new().install()
var mp3: PackedByteArray = FileAccess.get_file_as_bytes("res://tests/data/short.mp3")