aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_tech.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_tech.go')
-rw-r--r--internal/game/cmd_tech.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_tech.go b/internal/game/cmd_tech.go
index 0a5580c..1431228 100644
--- a/internal/game/cmd_tech.go
+++ b/internal/game/cmd_tech.go
@@ -126,7 +126,7 @@ func (g *Game) doTechList(sess *net.Session) {
for _, tech := range AllTechs {
status := ""
- nameStr := tech.Name
+ var nameStr string
if tech.Level <= techLevel {
if p.HasActiveTech(tech.ID) {
status = color.Render(mode, g.resolveConstant(sess, "tech_status_on"), "ON")