Skip to content

Commit

Permalink
[Register Npc Type] add missing currency method for npcs revscriptsys (
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerwix committed Feb 19, 2022
1 parent a2e01cd commit 9f37c02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/scripts/lib/register_npc_type.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,9 @@ registerNpcType.shop = function(npcType, mask)
end
end
end

registerNpcType.currency = function(npcType, mask)
if mask.currency then
npcType:currency(mask.currency)
end
end

0 comments on commit 9f37c02

Please sign in to comment.