From 7fc445ce61417852b9dd5a50427d14b0eaa405f1 Mon Sep 17 00:00:00 2001 From: 1 <1@72wo.cn> Date: Sat, 16 Aug 2025 03:19:47 +0000 Subject: [PATCH] =?UTF-8?q?refactor(logic):=20=E4=BC=98=E5=8C=96=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E7=83=AD=E5=BA=A6=E8=8E=B7=E5=8F=96=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E9=99=A4=E4=B8=B4=E6=97=B6=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/controller/maphot.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()),