aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_drop.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 17:05:14 -0400
committerhistoria <[not public]>2026-10-05 17:05:14 -0400
commite42952469dadfb3535633c66c881050ac128703c (patch)
treea78f7396b72cdbd6fa4f6c454c830f40cf2ad0cb /internal/game/cmd_drop.go
parent90ad8c0c33b519d5830c69d4128bdc984b5e9de8 (diff)
downloadthehouseoficarus-e42952469dadfb3535633c66c881050ac128703c.tar.gz
fix: gather verbs, walk oom, admin path bypass, roulette refund
Diffstat (limited to 'internal/game/cmd_drop.go')
-rw-r--r--internal/game/cmd_drop.go4
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 {