diff --git a/NHSE.WinForms/Subforms/Map/FieldItemEditor.cs b/NHSE.WinForms/Subforms/Map/FieldItemEditor.cs index 764859a..2ffd140 100644 --- a/NHSE.WinForms/Subforms/Map/FieldItemEditor.cs +++ b/NHSE.WinForms/Subforms/Map/FieldItemEditor.cs @@ -389,7 +389,8 @@ private void ReplaceTile(Item tile, int x, int y) } bool wholeMap = (ModifierKeys & Keys.Shift) != 0; - var count = View.ReplaceFieldItems(tile, pgt, wholeMap); + var copy = new Item(tile.RawValue); + var count = View.ReplaceFieldItems(copy, pgt, wholeMap); if (count == 0) { WinFormsUtil.Alert(MessageStrings.MsgFieldItemModifyNone);