aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_stop.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-24 22:55:35 -0400
committerhistoria <[not public]>2026-06-24 22:55:35 -0400
commit15b7e221b799ef107dec44ecdb294026dfd3d059 (patch)
tree3748e464a77f0f082bea1567e9d6990052054961 /internal/game/cmd_stop.go
parent9d4b799db4868bcab291b83599ff088763cd4ed6 (diff)
downloadthehouseoficarus-15b7e221b799ef107dec44ecdb294026dfd3d059.tar.gz
refactor: pulled techs out to yaml files, unified numerous combat functions, broke up game object
Diffstat (limited to 'internal/game/cmd_stop.go')
-rw-r--r--internal/game/cmd_stop.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_stop.go b/internal/game/cmd_stop.go
index 0db0ac2..7a403f1 100644
--- a/internal/game/cmd_stop.go
+++ b/internal/game/cmd_stop.go
@@ -13,6 +13,6 @@ func (g *Game) executeStop(sess *net.Session, args []string, rawInput string) {
}
g.cancelAction(p)
g.cancelBgAction(p)
- delete(g.activeQueue, p.Name)
+ g.queue.DeleteActive(p.Name)
sess.WriteLine("You stop what you were doing.")
}