diff --git a/Assets/Scripts/BidHandler.cs b/Assets/Scripts/BidHandler.cs index 46575392..4229567f 100644 --- a/Assets/Scripts/BidHandler.cs +++ b/Assets/Scripts/BidHandler.cs @@ -431,17 +431,12 @@ public void DestroyBidTI(TI_Bid TI_Bid) } - public void BidRedemption(PlayerHandler ph, int bidAmount, BidType bidType) + public void BidRedemption(PlayerHandler ph, int bidAmount, BidType bidType, string redemptionID = null) { SpawnTI_Bid(ph, target:ph, bidAmount, bidType); - } - public void BidRedemption(PlayerHandler ph, int bidAmount, BidType bidType, string redemptionID) - { + if (redemptionID == null) - { - BidRedemption(ph, bidAmount, bidType); return; - } string TwitchID = ph.pp.TwitchID; @@ -452,8 +447,6 @@ public void BidRedemption(PlayerHandler ph, int bidAmount, BidType bidType, stri redemptionsIds.Add(redemptionID); _redemptionsIds[TwitchID] = redemptionsIds; - - BidRedemption(ph, bidAmount, bidType); } public void TryAddToBiddingQ(PlayerHandler ph)