From 283de094979cd8ca3df7e45632977ce35886729c Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 4 Jul 2025 23:09:29 +0200 Subject: Upgrade go --- gather_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gather_order.go') diff --git a/gather_order.go b/gather_order.go index e359146..c35f11f 100644 --- a/gather_order.go +++ b/gather_order.go @@ -60,8 +60,8 @@ func (o *GatherOrder) updateGathererFull(e *Entity, g *Game, gatherer *ResourceG physics.StartMove(&e.Move, e.Position, destination, g.getMoveMap()) return } + g.ResourceAmount += gatherer.CurrentVolume gatherer.CurrentVolume = 0 - // TODO: increment storage o.startMoveToSource(e, gatherer, g) } -- cgit v1.3