From cda6813cfde90bdc55e959330c819e4112caca31 Mon Sep 17 00:00:00 2001 From: Luan Luciano Date: Sat, 2 Dec 2023 23:35:33 -0300 Subject: [PATCH] fix: set promotion kv (#1961) closes #1960 --- data/npclib/npc_system/modules.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/data/npclib/npc_system/modules.lua b/data/npclib/npc_system/modules.lua index 896fba8eccd..c8f2847c84f 100644 --- a/data/npclib/npc_system/modules.lua +++ b/data/npclib/npc_system/modules.lua @@ -106,6 +106,7 @@ if Modules == nil then else npcHandler:say(parameters.text, npc, player) player:setVocation(promotion) + player:kv():set("promoted", true) end else npcHandler:say("You need a premium account in order to get promoted.", npc, player)