Files
berry-dash-godot-remake/Scripts/OutdatedVersionLogic.cs
T
2026-01-18 23:40:22 -07:00

12 lines
385 B
C#

using Godot;
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;
}
}
}