Finished the outdated version menu

Now I can make any version either not be able to access the servers or
not be playable at all. So thats good.
This commit is contained in:
Puppet committed 2025-08-28 11:29:10 -07:00
1 parent 62de4bd400
commit 0f1d574da3
4 files changed
+19 -2

No files matched your search

+3 -1
View File
@@ -40,7 +40,9 @@ public partial class VersionChecker : Control {
Globals.VersionChecked = true;
if (Globals.AccessLevel != "all") {
string GameVersion = ProjectSettings.GetSetting("application/config/version").AsString();
if (Globals.AccessLevel != "all" || GameVersion != Globals.LatestVersion) {
var error = GetTree().ChangeSceneToFile("res://Scenes/OutdatedVersion.tscn");
if (error != Error.Ok) {