Skip to content

Commit

Permalink
front: force apply space occupation rect on eco
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredamiron committed Nov 16, 2023
1 parent 6e7fc8d commit f56ec6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function drawTrain(
: undefined;

if (direction && currentAllowanceSettings) {
if (trainToDraw.eco_routeAspects && currentAllowanceSettings?.ecoBlocks) {
if (trainToDraw.eco_routeAspects) {
// Let's draw eco_route_aspects
trainToDraw.eco_routeAspects.forEach((ecoRouteAspect) => {
drawRect(
Expand Down

0 comments on commit f56ec6e

Please sign in to comment.