mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Fix missing default in server ups
This commit is contained in:
@@ -36,7 +36,7 @@ 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 visible = false end
|
if not External.valid() or not storage.ext.var.server_ups then visible = false end
|
||||||
label.visible = visible
|
label.visible = visible or false
|
||||||
end)
|
end)
|
||||||
|
|
||||||
--- Toggles if the server ups is visbile
|
--- Toggles if the server ups is visbile
|
||||||
|
|||||||
Reference in New Issue
Block a user