Skip to content

Commit 99011ca

Browse files
committed
2.3.9
1 parent 11dc227 commit 99011ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RetakesAllocator/RetakesAllocator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ public HookResult OnPostItemPurchase(EventItemPurchase @event, GameEventInfo inf
445445
: null;
446446

447447
var isValidAllocation = WeaponHelpers.IsAllocationTypeValidForRound(purchasedAllocationType,
448-
RoundTypeManager.Instance.GetCurrentRoundType());
448+
RoundTypeManager.Instance.GetCurrentRoundType()) && WeaponHelpers.IsUsableWeapon(item);
449449

450450
Log.Debug($"item {item} team {team} player {playerId}");
451451
Log.Debug($"weapon alloc {purchasedAllocationType} valid? {isValidAllocation}");

RetakesAllocatorCore/PluginInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace RetakesAllocatorCore;
55

66
public static class PluginInfo
77
{
8-
public const string Version = "2.3.8";
8+
public const string Version = "2.3.9";
99

1010
public static readonly string LogPrefix = $"[RetakesAllocator {Version}] ";
1111

0 commit comments

Comments
 (0)