aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_drop.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_drop.go')
-rw-r--r--internal/game/cmd_drop.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/game/cmd_drop.go b/internal/game/cmd_drop.go
index ffed913..d77eb53 100644
--- a/internal/game/cmd_drop.go
+++ b/internal/game/cmd_drop.go
@@ -10,7 +10,6 @@ import (
func (g *Game) doDropAll(sess *net.Session) {
p := sess.Player
g.cancelAction(p)
- p.ActionState = &ActionState{Type: ActionDropping, TargetName: "inventory"}
count := 0
for _, slot := range p.Inventory {
@@ -50,7 +49,6 @@ func (g *Game) doDropAllNamed(sess *net.Session, input string) {
name = def.Name
}
coloredName := g.itemColorize(sess, def, name)
- p.ActionState = &ActionState{Type: ActionDropping, TargetName: name}
if def != nil && def.Stackable {
slot := p.InvSlot(matches[0].Slot)
@@ -109,7 +107,6 @@ func (g *Game) doDrop(sess *net.Session, input string) {
if def != nil {
name = def.Name
}
- p.ActionState = &ActionState{Type: ActionDropping, TargetName: name}
if qty == 0 {
if def != nil && def.Stackable {