diff options
Diffstat (limited to 'go/ui/mapView.go')
| -rw-r--r-- | go/ui/mapView.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/go/ui/mapView.go b/go/ui/mapView.go index 2016a60f..25ebd5aa 100644 --- a/go/ui/mapView.go +++ b/go/ui/mapView.go @@ -309,7 +309,8 @@ func (vw *MapView) drawPermanentsLayer(screen *ebiten.Image) { op := &ebiten.DrawImageOptions{} op.GeoM.Scale(vw.scale, vw.scale) op.GeoM.Translate(float64(x_px), float64(y_px)) - op.ColorScale.ScaleWithColor(p.Controller().Color) + col := PlayerColors[p.Controller().Id-1] + op.ColorScale.ScaleWithColor(col) if colors, found := vw.permanentsHighlights[p]; found { for _, color := range colors { |
