mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
[BugFix] Persist Job Restrictions When New User Late Joins (#26498)
* make sure to keep late join button disabled if requirements not met * more succinct representation of condition
This commit is contained in:
parent
8537e279e1
commit
cfc0ecbf80
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ namespace Content.Client.LateJoin
|
|||
if (matchingJobButton.Amount != updatedJobValue)
|
||||
{
|
||||
matchingJobButton.RefreshLabel(updatedJobValue);
|
||||
matchingJobButton.Disabled = matchingJobButton.Amount == 0;
|
||||
matchingJobButton.Disabled |= matchingJobButton.Amount == 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue