Skip to content

Commit

Permalink
fix: set promotion kv (#1961)
Browse files Browse the repository at this point in the history
closes #1960
  • Loading branch information
Luan Luciano authored Dec 3, 2023
1 parent 37e387d commit cda6813
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/npclib/npc_system/modules.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cda6813

Please sign in to comment.