Skip to content

Commit

Permalink
update: 地图渲染优化
Browse files Browse the repository at this point in the history
  • Loading branch information
BingZi-233 committed Oct 21, 2024
1 parent 72ec8d5 commit ec373f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ImageMapRenderer(val image: BufferedImage) : MapRenderer() {
private var renderer = false
override fun render(mapView: MapView, mapCanvas: MapCanvas, player: Player) {
if (renderer) {
// return
return
}
mapCanvas.drawImage(0, 0, image)
renderer = true
Expand Down

0 comments on commit ec373f2

Please sign in to comment.