This commit is contained in:
2025-01-11 23:07:58 +09:00
parent cf2f6cfb8c
commit 0d8712dd6b

View File

@@ -36,11 +36,8 @@ UsesServerUps:on_load(function(player_name, visible)
local label = player.gui.screen[server_ups.name] local label = player.gui.screen[server_ups.name]
--- @diagnostic disable-next-line undefined-field --- @diagnostic disable-next-line undefined-field
if not External.valid() or not storage.ext.var.server_ups then if not External.valid() or not storage.ext.var.server_ups then visible = false end
label.visible = false label.visible = visible or false
else
label.visible = label.visible or false
end
end) end)
--- Toggles if the server ups is visbile --- Toggles if the server ups is visbile