From 1e5d49c44e11a744ad6d1aaf8c67b54b15ecf503 Mon Sep 17 00:00:00 2001 From: Wiebe Geertsma <1354802+GreaseMonk@users.noreply.github.com> Date: Sun, 24 Mar 2024 23:06:35 +0100 Subject: [PATCH] Fix shipyard ammo refuel normal rcd --- Content.Shared/RCD/Systems/RCDAmmoSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/RCD/Systems/RCDAmmoSystem.cs b/Content.Shared/RCD/Systems/RCDAmmoSystem.cs index a906ddab42d..9136e337e28 100644 --- a/Content.Shared/RCD/Systems/RCDAmmoSystem.cs +++ b/Content.Shared/RCD/Systems/RCDAmmoSystem.cs @@ -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(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;