diff options
Diffstat (limited to 'internal/game/cmd_drop.go')
| -rw-r--r-- | internal/game/cmd_drop.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_drop.go b/internal/game/cmd_drop.go index 1c30cce..c0a8baf 100644 --- a/internal/game/cmd_drop.go +++ b/internal/game/cmd_drop.go @@ -63,7 +63,7 @@ func (g *Game) doDropAllNamed(sess *net.Session, input string) { } total += slot.Quantity p.SetInvSlot(match.Slot, nil) - g.World.AddGroundItem(p.RoomID, itemID, slot.Quantity) + g.World.AddGroundItemQ(p.RoomID, itemID, slot.Quantity, slot.Quality, slot.MaxQuality) } g.saveCharacter(p) if total == 1 { @@ -82,7 +82,7 @@ func (g *Game) doDropAllNamed(sess *net.Session, input string) { } total += slot.Quantity p.SetInvSlot(match.Slot, nil) - g.World.AddGroundItem(p.RoomID, itemID, slot.Quantity) + g.World.AddGroundItemQ(p.RoomID, itemID, slot.Quantity, slot.Quality, slot.MaxQuality) } g.saveCharacter(p) if total == 1 { |
