aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_clean.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 18:20:26 -0400
committerhistoria <[not public]>2026-06-19 18:20:26 -0400
commit0ea4eec5dd2122c6704216971eb1249276297867 (patch)
tree430fbbef04e837820f1d031c190f52ecd6112e25 /internal/game/cmd_clean.go
parent3a58125d14bb307f861b38c6c5b0a63babde7e08 (diff)
downloadthehouseoficarus-0ea4eec5dd2122c6704216971eb1249276297867.tar.gz
shop fixes, 'toggle' completely removed, movement speed increased
Diffstat (limited to 'internal/game/cmd_clean.go')
-rw-r--r--internal/game/cmd_clean.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/cmd_clean.go b/internal/game/cmd_clean.go
index 70dedb9..1f00d75 100644
--- a/internal/game/cmd_clean.go
+++ b/internal/game/cmd_clean.go
@@ -12,7 +12,7 @@ import (
)
func (g *Game) doClean(sess *net.Session, input string) {
- p := sess.Player.(*player.Player)
+ p := sess.Player
if combat.GetCombat(p.Name) != nil {
sess.WriteLine("You can't do that during combat!")
@@ -50,7 +50,7 @@ func (g *Game) doClean(sess *net.Session, input string) {
return
}
- g.CancelBackgroundAction(p)
+ g.cancelBackgroundAction(p)
p.BackgroundAction = &action.Action{
Type: "clean",