Skip to content

Commit

Permalink
Mtn: Add item to inventory even if armor is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerkiz committed Nov 11, 2024
1 parent d9059ca commit 81a167f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maps/mountain_fortress_v3/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2851,6 +2851,8 @@ function Public.equip_players(starting_items, recreate)
for _ = 1, item_data.count do
p_armor[1].grid.put({ name = item })
end
else
player.insert({ name = item, count = item_data.count })
end
else
player.insert({ name = item, count = item_data.count })
Expand Down

0 comments on commit 81a167f

Please sign in to comment.