aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_map.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_map.go')
-rw-r--r--internal/game/cmd_map.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/cmd_map.go b/internal/game/cmd_map.go
index 7cad008..be35a66 100644
--- a/internal/game/cmd_map.go
+++ b/internal/game/cmd_map.go
@@ -4,6 +4,10 @@ import (
"thehouseoficarus/internal/net"
)
+func (g *Game) executeMap(sess *net.Session, args []string, rawInput string) {
+ g.doMap(sess)
+}
+
func (g *Game) doMap(sess *net.Session) {
p := sess.Player
mapWidth := p.OptionInt("mapwidth")