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