Code lint

This commit is contained in:
Chomp
2025-09-14 16:40:05 +01:00
parent 45237693f8
commit 3fa72b5064
@@ -140,8 +140,8 @@ public class BotWeaponModLimitService(ISptLogger<BotWeaponModLimitService> logge
/// <returns>true if limit reached</returns>
protected bool WeaponModLimitReached(MongoId modTpl, ItemCount currentCount, int? maxLimit, string botRole)
{
// No value or 0
if (maxLimit is null || maxLimit is 0)
// No limit
if (maxLimit is null or 0)
{
return false;
}