Skip to content

Commit

Permalink
Fix a copy-paste typo in lua/items.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolphecombe committed Jul 29, 2024
1 parent b96ce6c commit 6796e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ loti.item.util.get_item_from_storage = function(unit, item_number, crafted_sort)
if wesnoth.current_version() < wesnoth.version "1.17.0" then
wesnoth.fire_event("item pick", unit)
else
wesnoth.game_events.fire("unequip", unit)
wesnoth.game_events.fire("item pick", unit)
end
end

Expand Down

0 comments on commit 6796e2c

Please sign in to comment.