diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-04 23:09:29 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-07-04 23:09:29 +0200 |
| commit | 283de094979cd8ca3df7e45632977ce35886729c (patch) | |
| tree | e21d8135dcef7dd46b61874e0b264d5009c647a0 /gather_order.go | |
| parent | 5224fdc80913597287a5f67efec5d0be3254ce59 (diff) | |
Upgrade go
Diffstat (limited to 'gather_order.go')
| -rw-r--r-- | gather_order.go | 2 |
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) } |
