Fixed playtime requirement tooltip (#10756)
This commit is contained in:
@@ -247,7 +247,7 @@ namespace Content.Client.LateJoin
|
|||||||
|
|
||||||
string? reason = null;
|
string? reason = null;
|
||||||
|
|
||||||
if (value == 0 || !tracker.IsAllowed(prototype, out reason))
|
if (!tracker.IsAllowed(prototype, out reason))
|
||||||
{
|
{
|
||||||
jobButton.Disabled = true;
|
jobButton.Disabled = true;
|
||||||
|
|
||||||
@@ -256,6 +256,10 @@ namespace Content.Client.LateJoin
|
|||||||
jobButton.ToolTip = reason;
|
jobButton.ToolTip = reason;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (value == 0)
|
||||||
|
{
|
||||||
|
jobButton.Disabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
_jobButtons[id][prototype.ID] = jobButton;
|
_jobButtons[id][prototype.ID] = jobButton;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
role-timer-department-insufficient = Require {TOSTRING($time, "0")} more minutes in {$department} department.
|
role-timer-department-insufficient = You require {TOSTRING($time, "0")} more minutes in {$department} department to play this role.
|
||||||
role-timer-department-too-high = Requires {TOSTRING($time, "0")} fewer minutes in {$department} department. (Are you trying to play a trainee role?)
|
role-timer-department-too-high = You require {TOSTRING($time, "0")} fewer minutes in {$department} department to play this role. (Are you trying to play a trainee role?)
|
||||||
role-timer-overall-insufficient = Require {TOSTRING($time, "0")} more minutes of playtime.
|
role-timer-overall-insufficient = You require {TOSTRING($time, "0")} more minutes of playtime to play this role.
|
||||||
role-timer-overall-too-high = Require {TOSTRING($time, "0")} fewer minutes of playtime. (Are you trying to play a trainee role?)
|
role-timer-overall-too-high = You require {TOSTRING($time, "0")} fewer minutes of playtime to play this role. (Are you trying to play a trainee role?)
|
||||||
role-timer-role-insufficient = Require {TOSTRING($time, "0")} more minutes with {$job} for this role.
|
role-timer-role-insufficient = You require {TOSTRING($time, "0")} more minutes with {$job} to play this role.
|
||||||
role-timer-role-too-high = Require {TOSTRING($time, "0")} fewer minutes with {$job} for this role. (Are you trying to play a trainee role?)
|
role-timer-role-too-high = You require {TOSTRING($time, "0")} fewer minutes with {$job} to play this role. (Are you trying to play a trainee role?)
|
||||||
|
|
||||||
role-timer-locked = Locked (hover for details)
|
role-timer-locked = Locked (hover for details)
|
||||||
|
|||||||
Reference in New Issue
Block a user