aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_clean.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_clean.go')
-rw-r--r--internal/game/cmd_clean.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/cmd_clean.go b/internal/game/cmd_clean.go
index 1f00d75..47896bb 100644
--- a/internal/game/cmd_clean.go
+++ b/internal/game/cmd_clean.go
@@ -11,6 +11,10 @@ import (
"thehouseoficarus/internal/player"
)
+func (g *Game) executeClean(sess *net.Session, args []string, rawInput string) {
+ g.doClean(sess, strings.Join(args, " "))
+}
+
func (g *Game) doClean(sess *net.Session, input string) {
p := sess.Player