From 1dad15698845d370e998f7cc5feb8aece3fab58f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 17:05:17 -0400 Subject: refactor: remove dead code, consolidate save/error handling, add lint gate --- internal/game/sys_labor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/sys_labor.go') diff --git a/internal/game/sys_labor.go b/internal/game/sys_labor.go index f0e1d01..5bd04f5 100644 --- a/internal/game/sys_labor.go +++ b/internal/game/sys_labor.go @@ -27,7 +27,7 @@ func (g *Game) progressBar(sess *net.Session, progress, max int) string { // writeTaskProgress prints the per-tick progress line for a task worksite, // mirroring the combat hit line but framed as labor instead of damage. -func (g *Game) writeTaskProgress(sess *net.Session, p *player.Player, mob *world.MobInstance, dmg int, gains []xpGain) { +func (g *Game) writeTaskProgress(sess *net.Session, p *player.Player, mob *world.MobInstance, gains []xpGain) { progress := mob.MaxHP - mob.HP if progress < 0 { progress = 0 -- cgit v1.2.3