Fix typing, Importer needs type to be defaultBuilds as buildtype can be a string

This commit is contained in:
CWX
2025-01-16 18:28:10 +00:00
parent c6538a7607
commit 9fa39a972d
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -129,11 +129,11 @@ public class BotWeaponGeneratorHelper
string ammoTpl,
int cartridgeCount,
BotBaseInventory inventory,
List<string> equipmentSlotsToAddTo
List<EquipmentSlots> equipmentSlotsToAddTo
)
{
if (equipmentSlotsToAddTo is null)
equipmentSlotsToAddTo = [EquipmentSlots.TacticalVest.ToString(), EquipmentSlots.Pockets.ToString()];
equipmentSlotsToAddTo = [EquipmentSlots.TacticalVest, EquipmentSlots.Pockets];
var ammoItems = _itemHelper.SplitStack(new () {
Id = _hashUtil.Generate(),