We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42f32d commit c628bc7Copy full SHA for c628bc7
starter_kits/Go/src/hlt/Entities.go
@@ -61,7 +61,7 @@ func (s *Ship) GetID() int { return s.E.id }
61
// IsFull - Returns true if the ship is full
62
func (s *Ship) IsFull() bool {
63
var maxHalite, _ = gameconfig.GetInstance().GetInt(gameconfig.MaxHalite)
64
- return s.Halite > maxHalite
+ return s.Halite >= maxHalite
65
}
66
67
// MakeDropoff - Creates command to turn the ship into a dropoff
0 commit comments