diff --git a/code/swb_base/Weapon.cs b/code/swb_base/Weapon.cs index c14c72d3..248aa26d 100644 --- a/code/swb_base/Weapon.cs +++ b/code/swb_base/Weapon.cs @@ -116,7 +116,7 @@ protected override void OnStart() Attachments.ForEach( att => { // Log.Info( "[" + att.Name + "] equipped ->" + att.Equipped ); - if ( att.Equipped ) + if ( att is not null && att.Equipped ) att.Equip(); } ); }