refactor: wiped planet after bombing
This commit is contained in:
@@ -37,6 +37,8 @@ func (p *Planet) Own(v uuid.UUID) {
|
||||
func (p *Planet) Free() {
|
||||
p.Owner = nil
|
||||
p.Production = ProductionNone.AsType(uuid.Nil)
|
||||
p.Colonists = 0.
|
||||
clear(p.Route)
|
||||
}
|
||||
|
||||
func (p Planet) Owned() bool {
|
||||
|
||||
Reference in New Issue
Block a user