From: Jake Huxell Date: Fri, 29 Mar 2024 02:30:23 +0000 (-0400) Subject: [BugFix] Persist Job Restrictions When New User Late Joins (#26498) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=cfc0ecbf80ab497a01443aea354f4ac3dc205b58;p=space-station-14.git [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 --- diff --git a/Content.Client/LateJoin/LateJoinGui.cs b/Content.Client/LateJoin/LateJoinGui.cs index d6a028d6c4..ba9351d674 100644 --- a/Content.Client/LateJoin/LateJoinGui.cs +++ b/Content.Client/LateJoin/LateJoinGui.cs @@ -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; } } }