Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream sync #541

Merged
merged 75 commits into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
6fc8c1c
Merge remote-tracking branch 'upstream/master' into master-syndicate
Morb0 Mar 26, 2024
ef1ca87
Fix meta.json
Morb0 Mar 26, 2024
a45c5db
Update locale
Morb0 Mar 26, 2024
f998543
Merge pull request #1993 from space-syndicate/upstream-sync
Morb0 Mar 26, 2024
9594afa
Remove Rubber Rounds, Give Security Disablers (#26470)
Nairodian Mar 27, 2024
bd27727
Automatic changelog update
PJBot Mar 27, 2024
3e786f5
Removed Box of Hugs and Donk Pockets from Bounties (#26481)
Ghagliiarghii Mar 27, 2024
ba7d2dc
Automatic changelog update
PJBot Mar 27, 2024
7c189fe
Translate Upstream #1993 (#1994)
lapatison Mar 27, 2024
a2da171
[FixMap] Avrite (#1997)
Syxapik Mar 27, 2024
2e9deae
Artifact node IDs are now only 3 digits long (#26482)
Vermidia Mar 27, 2024
527c2c4
Automatic changelog update
PJBot Mar 27, 2024
37b8d78
Body code cleanup (#24946)
0x6273 Mar 28, 2024
92a4443
Add stacktrace to action error logs (#26486)
ElectroJr Mar 28, 2024
bf7c1d6
Late Join Menu Properly Retains Position On New Player Joins (#26483)
Huxellberger Mar 28, 2024
29fb3ca
Automatic changelog update
PJBot Mar 28, 2024
77e029d
Remove atmos method events (#26402)
ElectroJr Mar 28, 2024
8a6879b
Misc ItemToggleSystem changes (#26489)
ElectroJr Mar 28, 2024
4d9a79d
Allow cargo bounties to be sold off-station (#26469)
blueDev2 Mar 28, 2024
7d90175
Automatic changelog update
PJBot Mar 28, 2024
578f7e4
Remove broadcast cooldown (#26492)
superjj18 Mar 28, 2024
887cd42
Add DoorBumpOpener to space dragon (#26490)
Simyon264 Mar 28, 2024
b064985
Automatic changelog update
PJBot Mar 28, 2024
766192f
Use nav beacon locations for announcements (#26437)
EmoGarbage404 Mar 28, 2024
a071bc5
Automatic changelog update
PJBot Mar 28, 2024
b1ba6b5
Arcade machine improvements (#24200)
Tayrtahn Mar 28, 2024
65fa3ae
Automatic changelog update
PJBot Mar 28, 2024
6863a7c
biggest gridinv update OF ALL TIME (#25834)
deltanedas Mar 28, 2024
d576f5c
dynamic alert sprites (#25452)
EmoGarbage404 Mar 28, 2024
df7f2a1
Automatic changelog update
PJBot Mar 28, 2024
d13da28
voicemask can select speech verb (#25768)
deltanedas Mar 28, 2024
29f34d8
Automatic changelog update
PJBot Mar 28, 2024
794a447
Separate "thank you" messages from general ads (#25867)
Tayrtahn Mar 28, 2024
1155cf1
Set 20h bunker for Solaris
Morb0 Mar 28, 2024
a125ca2
Fix CLRF to LF
Morb0 Mar 28, 2024
b54c50b
Send station goal also to centcomm fax (#1999)
lzk228 Mar 28, 2024
bbe08c0
Fix master (#26501)
metalgearsloth Mar 28, 2024
414a4ee
Outpost WorldsWide Update Steal (#2000)
SonicHDC Mar 28, 2024
192f092
Sentien artifact ghost role locale (#26509)
lapatison Mar 28, 2024
7759d40
Fix arcade goodbye message implementation (#26514)
Tayrtahn Mar 28, 2024
df631ff
Fix Incorrect stealth messages appearing on readmin. (#26511)
nikthechampiongr Mar 28, 2024
aba1619
Go back to constant electrocution damage based on voltage (#26455)
EmoGarbage404 Mar 28, 2024
daff655
Automatic changelog update
PJBot Mar 28, 2024
66e8e05
more melee weapon sound fixes (#26520)
Dutch-VanDerLinde Mar 29, 2024
8537e27
Foldable ushanka (#26519)
ValentFingerov Mar 29, 2024
cfc0ecb
[BugFix] Persist Job Restrictions When New User Late Joins (#26498)
Huxellberger Mar 29, 2024
653d53d
Automatic changelog update
PJBot Mar 29, 2024
69a15ad
Send what seleted for secret to admin chat (#26500)
lzk228 Mar 29, 2024
cdfa7c3
Automatic changelog update
PJBot Mar 29, 2024
59e46aa
Reduced Warning Count By 130 For Full Rebuilds (#26518)
Huxellberger Mar 29, 2024
52ca0c2
Automatic changelog update
PJBot Mar 29, 2024
a25801b
Update audioparams (#26387)
metalgearsloth Mar 29, 2024
f008732
Update submodule to 217.0.0 (#26524)
metalgearsloth Mar 29, 2024
b041637
Chemically-created Crystal Shards (#26269)
wafehling Mar 29, 2024
d830922
Automatic changelog update
PJBot Mar 29, 2024
cdfee5a
Transform cleanups (#25963)
metalgearsloth Mar 29, 2024
a606909
Add auto modes to reagent grinder (#26290)
Crotalus Mar 29, 2024
12a384f
Automatic changelog update
PJBot Mar 29, 2024
06b14f3
Change Polymorph Actions to use Polymorph Proto Id (#26419)
keronshb Mar 29, 2024
19caf1d
Increases minimum player requirement for nuclear operatives. (#26474)
Adrian16199 Mar 29, 2024
c44d509
Merge remote-tracking branch 'upstream/master' into upstream-sync
Morb0 Mar 29, 2024
1fffefa
Fix VoiceMaskNameChangeWindow.xaml.cs
Morb0 Mar 29, 2024
4cd2fbd
Add prediction to Spill Container verb, add dummy TrySpill methods to…
Tayrtahn Mar 29, 2024
9594c93
Update locale
Morb0 Mar 29, 2024
4e2b5be
Merge pull request #2002 from space-syndicate/upstream-sync
Morb0 Mar 29, 2024
28d05fe
Fix disposals test (#26535)
metalgearsloth Mar 29, 2024
355d00a
combine same-tile explosions in the same tick (#25664)
deltanedas Mar 29, 2024
3a3652a
Automatic changelog update
PJBot Mar 29, 2024
985c4b4
Fix empty atmos deserialization (#26540)
ElectroJr Mar 29, 2024
649af48
Increase Ion Storm Weights (#26539)
Mephisto72 Mar 30, 2024
86a24db
Automatic changelog update
PJBot Mar 30, 2024
7640557
Merge remote-tracking branch 'upstream/master' into upstream-sync
Rxup Mar 30, 2024
65c83d9
fix
Rxup Mar 30, 2024
acb32b4
Merge remote-tracking branch 'wizard/master' into upstream-sync
Rxup Mar 30, 2024
1058e84
fix
Rxup Mar 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions Content.Client/Alerts/ClientAlertsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Robust.Client.Player;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;

namespace Content.Client.Alerts;

Expand All @@ -13,7 +12,6 @@ public sealed class ClientAlertsSystem : AlertsSystem
{
public AlertOrderPrototype? AlertOrder { get; set; }

[Dependency] private readonly IGameTiming _timing = default!;
[Dependency] private readonly IPlayerManager _playerManager = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

Expand Down
21 changes: 21 additions & 0 deletions Content.Client/Alerts/UpdateAlertSpriteEvent.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using Content.Shared.Alert;
using Robust.Client.GameObjects;

namespace Content.Client.Alerts;

/// <summary>
/// Event raised on an entity with alerts in order to allow it to update visuals for the alert sprite entity.
/// </summary>
[ByRefEvent]
public record struct UpdateAlertSpriteEvent
{
public Entity<SpriteComponent> SpriteViewEnt;

public AlertPrototype Alert;

public UpdateAlertSpriteEvent(Entity<SpriteComponent> spriteViewEnt, AlertPrototype alert)
{
SpriteViewEnt = spriteViewEnt;
Alert = alert;
}
}
1 change: 0 additions & 1 deletion Content.Client/Audio/AmbientSoundSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ protected override void QueueUpdate(EntityUid uid, AmbientSoundComponent ambienc
private static AudioParams _params = AudioParams.Default
.WithVariation(0.01f)
.WithLoop(true)
.WithAttenuation(Attenuation.LinearDistance)
.WithMaxDistance(7f);

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Audio/ContentAudioSystem.LobbyMusic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public sealed partial class ContentAudioSystem
[Dependency] private readonly IStateManager _stateManager = default!;
[Dependency] private readonly IResourceCache _resourceCache = default!;

private readonly AudioParams _lobbySoundtrackParams = new(-5f, 1, "Master", 0, 0, 0, false, 0f);
private readonly AudioParams _roundEndSoundEffectParams = new(-5f, 1, "Master", 0, 0, 0, false, 0f);
private readonly AudioParams _lobbySoundtrackParams = new(-5f, 1, 0, 0, 0, false, 0f);
private readonly AudioParams _roundEndSoundEffectParams = new(-5f, 1, 0, 0, 0, false, 0f);

/// <summary>
/// EntityUid of lobby restart sound component.
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Clothing/ClientClothingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private bool TryGetDefaultVisuals(EntityUid uid, ClothingComponent clothing, str
else if (TryComp(uid, out SpriteComponent? sprite))
rsi = sprite.BaseRSI;

if (rsi == null || rsi.Path == null)
if (rsi == null)
return false;

var correctedSlot = slot;
Expand Down
2 changes: 0 additions & 2 deletions Content.Client/Doors/DoorSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
using Robust.Client.GameObjects;
using Robust.Client.ResourceManagement;
using Robust.Shared.Serialization.TypeSerializers.Implementations;
using Robust.Shared.Timing;

namespace Content.Client.Doors;

public sealed class DoorSystem : SharedDoorSystem
{
[Dependency] private readonly AnimationPlayerSystem _animationSystem = default!;
[Dependency] private readonly IGameTiming _gameTiming = default!;
[Dependency] private readonly IResourceCache _resourceCache = default!;

public override void Initialize()
Expand Down
1 change: 0 additions & 1 deletion Content.Client/Entry/EntryPoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ public override void Init()
_prototypeManager.RegisterIgnore("gameMap");
_prototypeManager.RegisterIgnore("gameMapPool");
_prototypeManager.RegisterIgnore("lobbyBackground");
_prototypeManager.RegisterIgnore("advertisementsPack");
_prototypeManager.RegisterIgnore("gamePreset");
_prototypeManager.RegisterIgnore("noiseChannel");
_prototypeManager.RegisterIgnore("spaceBiome");
Expand Down
38 changes: 37 additions & 1 deletion Content.Client/Fluids/PuddleSystem.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
using Content.Client.IconSmoothing;
using Content.Shared.Chemistry.Components;
using Content.Shared.Fluids;
using Content.Shared.Fluids.Components;
using Robust.Client.GameObjects;
using Robust.Shared.Map;

namespace Content.Client.Fluids;

Expand All @@ -21,7 +23,7 @@ private void OnPuddleAppearance(EntityUid uid, PuddleComponent component, ref Ap
if (args.Sprite == null)
return;

float volume = 1f;
var volume = 1f;

if (args.AppearanceData.TryGetValue(PuddleVisuals.CurrentVolume, out var volumeObj))
{
Expand Down Expand Up @@ -64,4 +66,38 @@ private void OnPuddleAppearance(EntityUid uid, PuddleComponent component, ref Ap
args.Sprite.Color *= baseColor;
}
}

#region Spill

// Maybe someday we'll have clientside prediction for entity spawning, but not today.
// Until then, these methods do nothing on the client.
/// <inheritdoc/>
public override bool TrySplashSpillAt(EntityUid uid, EntityCoordinates coordinates, Solution solution, out EntityUid puddleUid, bool sound = true, EntityUid? user = null)
{
puddleUid = EntityUid.Invalid;
return false;
}

/// <inheritdoc/>
public override bool TrySpillAt(EntityCoordinates coordinates, Solution solution, out EntityUid puddleUid, bool sound = true)
{
puddleUid = EntityUid.Invalid;
return false;
}

/// <inheritdoc/>
public override bool TrySpillAt(EntityUid uid, Solution solution, out EntityUid puddleUid, bool sound = true, TransformComponent? transformComponent = null)
{
puddleUid = EntityUid.Invalid;
return false;
}

/// <inheritdoc/>
public override bool TrySpillAt(TileRef tileRef, Solution solution, out EntityUid puddleUid, bool sound = true, bool tileReact = true)
{
puddleUid = EntityUid.Invalid;
return false;
}

#endregion Spill
}
2 changes: 0 additions & 2 deletions Content.Client/IconSmoothing/IconSmoothSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ namespace Content.Client.IconSmoothing
[UsedImplicitly]
public sealed partial class IconSmoothSystem : EntitySystem
{
[Dependency] private readonly IMapManager _mapManager = default!;

private readonly Queue<EntityUid> _dirtyEntities = new();
private readonly Queue<EntityUid> _anchorChangedEntities = new();

Expand Down
1 change: 1 addition & 0 deletions Content.Client/Input/ContentContexts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static void SetupContexts(IInputContextContainer contexts)
common.AddFunction(ContentKeyFunctions.ToggleFullscreen);
common.AddFunction(ContentKeyFunctions.MoveStoredItem);
common.AddFunction(ContentKeyFunctions.RotateStoredItem);
common.AddFunction(ContentKeyFunctions.SaveItemLocation);
common.AddFunction(ContentKeyFunctions.Point);
common.AddFunction(ContentKeyFunctions.ZoomOut);
common.AddFunction(ContentKeyFunctions.ZoomIn);
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Items/Systems/ItemSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private bool TryGetDefaultVisuals(EntityUid uid, ItemComponent item, string defa
else if (TryComp(uid, out SpriteComponent? sprite))
rsi = sprite.BaseRSI;

if (rsi == null || rsi.Path == null)
if (rsi == null)
return false;

var state = (item.HeldPrefix == null)
Expand Down
10 changes: 6 additions & 4 deletions Content.Client/Kitchen/UI/GrinderMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc grinder-menu-title}" MinSize="768 256">
<BoxContainer Orientation="Horizontal">
<BoxContainer Orientation="Vertical" VerticalAlignment="Top" Margin="8">
<Button Name="GrindButton" Text="{Loc grinder-menu-grind-button}" TextAlign="Center" MinSize="64 48"/>
<Control MinSize="0 16"/>
<Button Name="JuiceButton" Text="{Loc grinder-menu-juice-button}" TextAlign="Center" MinSize="64 48"/>
<BoxContainer Orientation="Vertical" VerticalAlignment="Top" Margin="8" MinWidth="100">
<Label Text="{Loc grinder-menu-auto-label}" HorizontalAlignment="Center"/>
<Button Name="AutoModeButton" Text="{Loc grinder-menu-auto-button}" TextAlign="Center" MinSize="64 48" Margin="0 0 0 16" />
<Label Text="{Loc grinder-menu-manual-label}" HorizontalAlignment="Center"/>
<Button Name="GrindButton" Text="{Loc grinder-menu-grind-button}" TextAlign="Center" MinSize="64 48" Margin="0 0 0 16" />
<Button Name="JuiceButton" Text="{Loc grinder-menu-juice-button}" TextAlign="Center" MinSize="64 48" />
</BoxContainer>

<ui:LabelledContentBox Name="ChamberContentBox" LabelText="{Loc grinder-menu-chamber-content-box-label}" ButtonText="{Loc grinder-menu-chamber-content-box-button}" VerticalExpand="True" HorizontalExpand="True" Margin="8" SizeFlagsStretchRatio="2"/>
Expand Down
14 changes: 14 additions & 0 deletions Content.Client/Kitchen/UI/GrinderMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public GrinderMenu(ReagentGrinderBoundUserInterface owner, IEntityManager entity
_entityManager = entityManager;
_prototypeManager = prototypeManager;
_owner = owner;
AutoModeButton.OnPressed += owner.ToggleAutoMode;
GrindButton.OnPressed += owner.StartGrinding;
JuiceButton.OnPressed += owner.StartJuicing;
ChamberContentBox.EjectButton.OnPressed += owner.EjectAll;
Expand Down Expand Up @@ -56,6 +57,19 @@ public void UpdateState(ReagentGrinderInterfaceState state)
GrindButton.Disabled = !state.CanGrind || !state.Powered;
JuiceButton.Disabled = !state.CanJuice || !state.Powered;

switch (state.AutoMode)
{
case GrinderAutoMode.Grind:
AutoModeButton.Text = Loc.GetString("grinder-menu-grind-button");
break;
case GrinderAutoMode.Juice:
AutoModeButton.Text = Loc.GetString("grinder-menu-juice-button");
break;
default:
AutoModeButton.Text = Loc.GetString("grinder-menu-auto-button-off");
break;
}

// TODO move this to a component state and ensure the net ids.
RefreshContentsDisplay(state.ReagentQuantities, _entityManager.GetEntityArray(state.ChamberContents), state.HasBeakerIn);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ protected override void ReceiveMessage(BoundUserInterfaceMessage message)
_menu?.HandleMessage(message);
}

public void ToggleAutoMode(BaseButton.ButtonEventArgs args)
{
SendMessage(new ReagentGrinderToggleAutoModeMessage());
}

public void StartGrinding(BaseButton.ButtonEventArgs? _ = null)
{
SendMessage(new ReagentGrinderStartMessage(GrinderProgram.Grind));
Expand Down
82 changes: 64 additions & 18 deletions Content.Client/LateJoin/LateJoinGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public sealed class LateJoinGui : DefaultWindow
private readonly SpriteSystem _sprites;
private readonly CrewManifestSystem _crewManifest;

private readonly Dictionary<NetEntity, Dictionary<string, JobButton>> _jobButtons = new();
private readonly Dictionary<NetEntity, Dictionary<string, List<JobButton>>> _jobButtons = new();
private readonly Dictionary<NetEntity, Dictionary<string, BoxContainer>> _jobCategories = new();
private readonly List<ScrollContainer> _jobLists = new();

Expand Down Expand Up @@ -141,7 +141,7 @@ private void RebuildUI()
var jobListScroll = new ScrollContainer()
{
VerticalExpand = true,
Children = {jobList},
Children = { jobList },
Visible = false,
};

Expand All @@ -165,11 +165,12 @@ private void RebuildUI()
var departments = _prototypeManager.EnumeratePrototypes<DepartmentPrototype>().ToArray();
Array.Sort(departments, DepartmentUIComparer.Instance);

_jobButtons[id] = new Dictionary<string, List<JobButton>>();

foreach (var department in departments)
{
var departmentName = Loc.GetString($"department-{department.ID}");
_jobCategories[id] = new Dictionary<string, BoxContainer>();
_jobButtons[id] = new Dictionary<string, JobButton>();
var stationAvailable = _gameTicker.JobsAvailable[id];
var jobsAvailable = new List<JobPrototype>();

Expand Down Expand Up @@ -225,7 +226,13 @@ private void RebuildUI()
foreach (var prototype in jobsAvailable)
{
var value = stationAvailable[prototype.ID];
var jobButton = new JobButton(prototype.ID, value);

var jobLabel = new Label
{
Margin = new Thickness(5f, 0, 0, 0)
};

var jobButton = new JobButton(jobLabel, prototype.ID, prototype.LocalizedName, value);

var jobSelector = new BoxContainer
{
Expand All @@ -243,14 +250,6 @@ private void RebuildUI()
icon.Texture = _sprites.Frame0(jobIcon.Icon);
jobSelector.AddChild(icon);

var jobLabel = new Label
{
Margin = new Thickness(5f, 0, 0, 0),
Text = value != null ?
Loc.GetString("late-join-gui-job-slot-capped", ("jobName", prototype.LocalizedName), ("amount", value)) :
Loc.GetString("late-join-gui-job-slot-uncapped", ("jobName", prototype.LocalizedName)),
};

jobSelector.AddChild(jobLabel);
jobButton.AddChild(jobSelector);
category.AddChild(jobButton);
Expand Down Expand Up @@ -282,15 +281,43 @@ private void RebuildUI()
jobButton.Disabled = true;
}

_jobButtons[id][prototype.ID] = jobButton;
if (!_jobButtons[id].ContainsKey(prototype.ID))
{
_jobButtons[id][prototype.ID] = new List<JobButton>();
}

_jobButtons[id][prototype.ID].Add(jobButton);
}
}
}
}

private void JobsAvailableUpdated(IReadOnlyDictionary<NetEntity, Dictionary<string, uint?>> _)
private void JobsAvailableUpdated(IReadOnlyDictionary<NetEntity, Dictionary<string, uint?>> updatedJobs)
{
RebuildUI();
foreach (var stationEntries in updatedJobs)
{
if (_jobButtons.ContainsKey(stationEntries.Key))
{
var jobsAvailable = stationEntries.Value;

var existingJobEntries = _jobButtons[stationEntries.Key];
foreach (var existingJobEntry in existingJobEntries)
{
if (jobsAvailable.ContainsKey(existingJobEntry.Key))
{
var updatedJobValue = jobsAvailable[existingJobEntry.Key];
foreach (var matchingJobButton in existingJobEntry.Value)
{
if (matchingJobButton.Amount != updatedJobValue)
{
matchingJobButton.RefreshLabel(updatedJobValue);
matchingJobButton.Disabled |= matchingJobButton.Amount == 0;
}
}
}
}
}
}
}

protected override void Dispose(bool disposing)
Expand All @@ -309,14 +336,33 @@ protected override void Dispose(bool disposing)

sealed class JobButton : ContainerButton
{
public Label JobLabel { get; }
public string JobId { get; }
public uint? Amount { get; }
public string JobLocalisedName { get; }
public uint? Amount { get; private set; }
private bool _initialised = false;

public JobButton(string jobId, uint? amount)
public JobButton(Label jobLabel, string jobId, string jobLocalisedName, uint? amount)
{
JobLabel = jobLabel;
JobId = jobId;
Amount = amount;
JobLocalisedName = jobLocalisedName;
RefreshLabel(amount);
AddStyleClass(StyleClassButton);
_initialised = true;
}

public void RefreshLabel(uint? amount)
{
if (Amount == amount && _initialised)
{
return;
}
Amount = amount;

JobLabel.Text = Amount != null ?
Loc.GetString("late-join-gui-job-slot-capped", ("jobName", JobLocalisedName), ("amount", Amount)) :
Loc.GetString("late-join-gui-job-slot-uncapped", ("jobName", JobLocalisedName));
}
}
}
1 change: 0 additions & 1 deletion Content.Client/NPC/PathfindingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ private void DrawScreen(OverlayDrawArgs args, DrawingHandleScreen screenHandle)

var invGridMatrix = gridXform.InvWorldMatrix;
DebugPathPoly? nearest = null;
var nearestDistance = float.MaxValue;

foreach (var poly in tile)
{
Expand Down
1 change: 1 addition & 0 deletions Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ void AddCheckBox(string checkBoxName, bool currentState, Action<BaseButton.Butto
AddButton(ContentKeyFunctions.SwapHands);
AddButton(ContentKeyFunctions.MoveStoredItem);
AddButton(ContentKeyFunctions.RotateStoredItem);
AddButton(ContentKeyFunctions.SaveItemLocation);

AddHeader("ui-options-header-interaction-adv");
AddButton(ContentKeyFunctions.SmartEquipBackpack);
Expand Down
Loading
Loading