aboutsummaryrefslogtreecommitdiff
path: root/internal/game/sys_technology.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 02:21:42 -0400
committerhistoria <[not public]>2026-07-01 02:21:42 -0400
commit5f37dc9b6f6b79da04da70ae0c33ec8d02998587 (patch)
treef7c309e36267a4c456fcf5bca800e614507a80af /internal/game/sys_technology.go
parentfee376102192dc6f24297a7b11324636ace3a07d (diff)
downloadthehouseoficarus-5f37dc9b6f6b79da04da70ae0c33ec8d02998587.tar.gz
feat: qol improvements to items crud in admin gui
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