diff --git a/logic/controller/maphot.go b/logic/controller/maphot.go index 66aaef07..29e7c464 100644 --- a/logic/controller/maphot.go +++ b/logic/controller/maphot.go @@ -14,8 +14,7 @@ func (h Controller) MapHot(data *maphot.InInfo, c *entity.Player) (result *mapho HotInfos: make([]maphot.MapHotInfo, 0), } - ttt := space.GetMapHot() - for k, v := range ttt { + for k, v := range space.GetMapHot() { result.HotInfos = append(result.HotInfos, maphot.MapHotInfo{ MapID: uint32(k), Count: uint32(space.GetPlanet(uint32(v)).Len()),