Fix floorplan buttons

This commit is contained in:
Bill 2022-03-16 05:32:53 -04:00
parent 900bfc3bac
commit ff46a89e79

View File

@ -192,9 +192,11 @@ export class FloorplanEditor extends PixiApplicationProxy
}
return;
case FloorAction.UP:
if(tile.height === 'x') return;
futureHeightIndex = heightIndex + 1;
break;
case FloorAction.DOWN:
if(tile.height === 'x' || (heightIndex <= 1)) return;
futureHeightIndex = heightIndex - 1;
break;
case FloorAction.SET: