Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop
This commit is contained in:
@@ -113,7 +113,13 @@ public class BotWeaponModLimitService(ISptLogger<BotWeaponModLimitService> logge
|
|||||||
var modIsLightOrLaser = itemHelper.IsOfBaseclasses(modTemplate.Id, modLimits.FlashlightLaserBaseTypes);
|
var modIsLightOrLaser = itemHelper.IsOfBaseclasses(modTemplate.Id, modLimits.FlashlightLaserBaseTypes);
|
||||||
if (modIsLightOrLaser)
|
if (modIsLightOrLaser)
|
||||||
{
|
{
|
||||||
return WeaponModLimitReached(modTemplate.Id, modLimits.FlashlightLaser, modLimits.FlashlightLaserMax ?? 0, botRole, "light/laser");
|
return WeaponModLimitReached(
|
||||||
|
modTemplate.Id,
|
||||||
|
modLimits.FlashlightLaser,
|
||||||
|
modLimits.FlashlightLaserMax ?? 0,
|
||||||
|
botRole,
|
||||||
|
"light/laser"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mod is a mount that can hold only flashlights ad limit is reached (don't want to add empty mounts if limit is reached)
|
// Mod is a mount that can hold only flashlights ad limit is reached (don't want to add empty mounts if limit is reached)
|
||||||
|
|||||||
Reference in New Issue
Block a user