From 281699baeab01e7d48a710a29deb49e978e001de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 5 Aug 2015 15:30:51 +0200 Subject: [PATCH] add missing weapon reference --- OpenRA.Mods.Common/Traits/Buildings/Bridge.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs b/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs index 50b014f557..40113e49ad 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/Bridge.cs @@ -39,7 +39,7 @@ namespace OpenRA.Mods.Common.Traits public readonly int[] SouthOffset = null; [Desc("The name of the weapon to use when demolishing the bridge")] - public readonly string DemolishWeapon = "Demolish"; + [WeaponReference] public readonly string DemolishWeapon = "Demolish"; public object Create(ActorInitializer init) { return new Bridge(init.Self, this); }