Fixed playtime requirement tooltip (#10756)
This commit is contained in:
@@ -247,7 +247,7 @@ namespace Content.Client.LateJoin
|
||||
|
||||
string? reason = null;
|
||||
|
||||
if (value == 0 || !tracker.IsAllowed(prototype, out reason))
|
||||
if (!tracker.IsAllowed(prototype, out reason))
|
||||
{
|
||||
jobButton.Disabled = true;
|
||||
|
||||
@@ -256,6 +256,10 @@ namespace Content.Client.LateJoin
|
||||
jobButton.ToolTip = reason;
|
||||
}
|
||||
}
|
||||
else if (value == 0)
|
||||
{
|
||||
jobButton.Disabled = true;
|
||||
}
|
||||
|
||||
_jobButtons[id][prototype.ID] = jobButton;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user