Skip to content

Commit

Permalink
Fix shipyard ammo refuel normal rcd
Browse files Browse the repository at this point in the history
  • Loading branch information
GreaseMonk committed Mar 24, 2024
1 parent ecccc3e commit 1e5d49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/RCD/Systems/RCDAmmoSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private void OnAfterInteract(EntityUid uid, RCDAmmoComponent comp, AfterInteract
// ## Frontier - Shipyard RCD ammo only fits in shipyard RCD.
// At this point RCDComponent is guaranteed
EnsureComp<RCDComponent>(target, out var rcdComponent);
if (rcdComponent.IsShipyardRCD && !comp.IsShipyardRCDAmmo)
if (rcdComponent.IsShipyardRCD && !comp.IsShipyardRCDAmmo || !rcdComponent.IsShipyardRCD && comp.IsShipyardRCDAmmo)
{
_popup.PopupClient(Loc.GetString("rcd-component-wrong-ammo-type"), target, user);
return;
Expand Down

0 comments on commit 1e5d49c

Please sign in to comment.