Files
berry-dash-godot-remake/Scripts/OutdatedVersionLogic.cs
T
Puppet 0f1d574da3 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.
2025-08-28 11:29:10 -07:00

13 lines
399 B
C#

using Godot;
using System;
public partial class OutdatedVersionLogic : Control {
public override void _Ready() {
if (Globals.AccessLevel == "client") {
GetNode<Label>("Header/SecondaryText").Text = "You can not access the servers!";
} else if (Globals.AccessLevel == "none") {
GetNode<Button>("Buttons/ContinueButton").Visible = false;
}
}
}