Skip to content

Commit

Permalink
fix behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Aug 20, 2022
1 parent 220bc20 commit 7592cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/wrapper/ogame.go
Original file line number Diff line number Diff line change
Expand Up @@ -3991,7 +3991,7 @@ func (b *OGame) getCachedCelestials() []Celestial {
for _, p := range b.GetCachedPlanets() {
celestials = append(celestials, p)
if p.Moon != nil {
celestials = append(celestials, *p.Moon)
celestials = append(celestials, p.Moon)
}
}
return celestials
Expand Down

0 comments on commit 7592cb0

Please sign in to comment.