aboutsummaryrefslogtreecommitdiff
path: root/internal/game/sys_technology.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/sys_technology.go')
-rw-r--r--internal/game/sys_technology.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/sys_technology.go b/internal/game/sys_technology.go
index 7df68d4..9e6a635 100644
--- a/internal/game/sys_technology.go
+++ b/internal/game/sys_technology.go
@@ -128,7 +128,7 @@ func (g *Game) totalTechBonus(p *player.Player) int {
for _, itemID := range p.Equipment {
def, err := g.ItemStore.Load(itemID)
if err == nil {
- total += def.Stats.TechnologyBonus
+ total += def.Stats().TechnologyBonus
}
}
return total