Skip to content

Commit

Permalink
2.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
yonilerner committed Apr 29, 2024
1 parent 11dc227 commit 99011ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RetakesAllocator/RetakesAllocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public HookResult OnPostItemPurchase(EventItemPurchase @event, GameEventInfo inf
: null;

var isValidAllocation = WeaponHelpers.IsAllocationTypeValidForRound(purchasedAllocationType,
RoundTypeManager.Instance.GetCurrentRoundType());
RoundTypeManager.Instance.GetCurrentRoundType()) && WeaponHelpers.IsUsableWeapon(item);

Log.Debug($"item {item} team {team} player {playerId}");
Log.Debug($"weapon alloc {purchasedAllocationType} valid? {isValidAllocation}");
Expand Down
2 changes: 1 addition & 1 deletion RetakesAllocatorCore/PluginInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace RetakesAllocatorCore;

public static class PluginInfo
{
public const string Version = "2.3.8";
public const string Version = "2.3.9";

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

Expand Down

0 comments on commit 99011ca

Please sign in to comment.