Skip to content

Commit

Permalink
Merge pull request #35 from Matt-Hurd/Matt-Hurd-patch-1
Browse files Browse the repository at this point in the history
Update MapDisplay.tsx
  • Loading branch information
Matt-Hurd authored Aug 20, 2023
2 parents 224ad2a + 8cd0455 commit 45b57bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MapDisplay/MapDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const MapDisplay: React.FC = () => {
<RouteLines />
<MapUpdate activePoint={activePoint} />
<Pane name="tile_bg" style={{ zIndex: 1 }}>
<TileLayer url={route.game.layers[activePoint.layerId].imagePath} bounds={outerBounds} />
<TileLayer url={route.game.layers[activeThing.layerId].imagePath} bounds={outerBounds} />
</Pane>
<Pane name="bg" style={{ zIndex: 0 }}>
<ImageOverlay url={route.url + route.game.layers[activeThing.layerId].baseImagePath} bounds={outerBounds} />
Expand Down

0 comments on commit 45b57bf

Please sign in to comment.