Fixed prapor starting gift being sent 5 times
This commit is contained in:
parent
06cc13c941
commit
5d0cfd7971
@ -248,7 +248,7 @@ export class GiftService
|
||||
if (giftId)
|
||||
{
|
||||
const giftData = this.getGiftById(giftId);
|
||||
if (!this.profileHelper.playerHasRecievedMaxNumberOfGift(sessionId, giftId, giftData.maxToSendPlayer ?? 5))
|
||||
if (!this.profileHelper.playerHasRecievedMaxNumberOfGift(sessionId, giftId, 1)) // Hard-coded to send only one
|
||||
{
|
||||
this.sendGiftToPlayer(sessionId, giftId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user