aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_autotrigger.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_autotrigger.go')
-rw-r--r--internal/game/cmd_autotrigger.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/cmd_autotrigger.go b/internal/game/cmd_autotrigger.go
index 3c41735..e2ecd1a 100644
--- a/internal/game/cmd_autotrigger.go
+++ b/internal/game/cmd_autotrigger.go
@@ -52,3 +52,7 @@ func (g *Game) doAutotrigger(sess *net.Session, input string) {
p.AutotriggerMod = mod.ID
sess.WriteLine(fmt.Sprintf("Autotrigger set to: %s", mod.Name))
}
+
+func (g *Game) executeAutotrigger(sess *net.Session, args []string, rawInput string) {
+ g.doAutotrigger(sess, strings.Join(args, " "))
+}