Skip to content

Commit

Permalink
createitem: move all created items to cursor if applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor committed May 11, 2016
1 parent fee6e57 commit 74898a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ New Features

Fixes
-----
- `createitem`: Now moves multiple created items to cursor correctly
- `exportlegends`: Improved handling of unknown enum items (fixes many errors)
- `gui/create-item`: Fixed quality when creating multiple items
- `gui/mod-manager`: Fixed error when mods folder doesn't exist
Expand Down
2 changes: 1 addition & 1 deletion plugins/createitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ bool makeItem (df::reaction_product_itemst *prod, df::unit *unit, bool second_it
}
}
if ((is_gloves || is_shoes) && !second_item)
return makeItem(prod, unit, true);
return makeItem(prod, unit, true, move_to_cursor);

return true;
}
Expand Down

0 comments on commit 74898a5

Please sign in to comment.