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