aboutsummaryrefslogtreecommitdiff
path: root/internal/game/render_help.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/render_help.go')
-rw-r--r--internal/game/render_help.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/game/render_help.go b/internal/game/render_help.go
index c7d0aa0..7886f48 100644
--- a/internal/game/render_help.go
+++ b/internal/game/render_help.go
@@ -224,13 +224,6 @@ func matchesHelpTopic(h HelpDef, topic string) bool {
return false
}
-func firstLine(s string) string {
- if idx := strings.Index(s, "\n"); idx >= 0 {
- return s[:idx]
- }
- return s
-}
-
func (g *Game) executeHelp(sess *net.Session, args []string, rawInput string) {
if len(args) == 0 {
g.doHelp(sess, "")