aboutsummaryrefslogtreecommitdiff
path: root/gather_order.go
diff options
context:
space:
mode:
Diffstat (limited to 'gather_order.go')
-rw-r--r--gather_order.go2
1 files changed, 1 insertions, 1 deletions
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)
}