mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
checking for contribution during a base capture does not result in the generation of heat (#1070)
This commit is contained in:
parent
a1cf6c2701
commit
90b7d2591d
|
|
@ -349,8 +349,11 @@ class ZoneHotSpotHistory(zone: Zone, hotspots: ListBuffer[HotSpotInfo], blanking
|
|||
val out = progressionOfIntervals
|
||||
.flatMap { y =>
|
||||
val yFloat = span * y.toFloat
|
||||
progressionOfIntervals.map { x => TryHotSpot(lowerLeftCorner + Vector3(span * x.toFloat, yFloat, 0f)) }
|
||||
progressionOfIntervals.map { x =>
|
||||
hotspots.find { _.DisplayLocation == lowerLeftCorner + Vector3(span * x.toFloat, yFloat, 0f) }
|
||||
}
|
||||
}
|
||||
.flatten
|
||||
.filter { info => Vector3.DistanceSquared(center, info.DisplayLocation) < squareRadius }
|
||||
.distinctBy { _.DisplayLocation }
|
||||
.toList
|
||||
|
|
|
|||
Loading…
Reference in a new issue