Skip to content

Commit

Permalink
Update init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano authored Mar 29, 2024
1 parent 7717b89 commit ed3ef5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/modules/scripts/gamestore/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ function GameStore.processHirelingChangeNamePurchase(player, offer, productType,
addPlayerEvent(sendStorePurchaseSuccessful, 200, playerId, message)
addPlayerEvent(HandleHirelingNameChange, 550, playerId, offer, newHirelingName)
else
return addPlayerEvent(sendRequestPurchaseData, 250, playerId, offer.id, GameStore.ClientOfferTypes.CLIENT_STORE_OFFER_NAMECHANGE)
return addPlayerEvent(sendRequestPurchaseData, 250, player:getId(), offer.id, GameStore.ClientOfferTypes.CLIENT_STORE_OFFER_NAMECHANGE)
end
end

Expand Down

0 comments on commit ed3ef5f

Please sign in to comment.