diff --git a/UnboundLib/Cards/CustomCard.cs b/UnboundLib/Cards/CustomCard.cs index 6594396..b4491c8 100644 --- a/UnboundLib/Cards/CustomCard.cs +++ b/UnboundLib/Cards/CustomCard.cs @@ -26,7 +26,7 @@ void Awake() gun = GetComponent(); cardStats = GetComponent(); statModifiers = GetComponent(); - block = GetComponent(); + block = gameObject.GetOrAddComponent(); SetupCard(cardInfo, gun, cardStats, statModifiers, block); } diff --git a/UnboundLib/Unbound.cs b/UnboundLib/Unbound.cs index add03ea..63e5090 100644 --- a/UnboundLib/Unbound.cs +++ b/UnboundLib/Unbound.cs @@ -25,7 +25,7 @@ public class Unbound : BaseUnityPlugin { private const string ModId = "com.willis.rounds.unbound"; private const string ModName = "Rounds Unbound"; - public const string Version = "2.7.2"; + public const string Version = "2.7.3"; internal static readonly ModCredits modCredits = new ModCredits("UNBOUND", new[] { "Willis (Creation, design, networking, custom cards, custom maps, and more)", "Tilastokeskus (Custom game modes, networking, structure)", "Pykess (Custom cards, menus, modded lobby syncing)", "Ascyst (Quickplay)", "Boss Sloth Inc. (Menus, UI, custom maps, modded lobby syncing)","willuwontu (Custom cards)"}, "Github", "https://github.com/Rounds-Modding/UnboundLib");