From ed3ef5f767603797bdfeabb8d71848c3ca8ea628 Mon Sep 17 00:00:00 2001 From: Luan Luciano Date: Fri, 29 Mar 2024 20:25:21 -0300 Subject: [PATCH] Update init.lua --- data/modules/scripts/gamestore/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/modules/scripts/gamestore/init.lua b/data/modules/scripts/gamestore/init.lua index d8076aee09d..6146f562307 100644 --- a/data/modules/scripts/gamestore/init.lua +++ b/data/modules/scripts/gamestore/init.lua @@ -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