소스 검색

Spawn entities in the center if the y-axis is unlocked

master
Fen Dweller 5 년 전
부모
커밋
e3cd13aaa7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js 파일 보기

@@ -2793,7 +2793,7 @@ function prepareEntities() {

button.addEventListener("click", e => {
const newEntity = entityList[select.value].constructor()
displayEntity(newEntity, newEntity.defaultView, config.x, config.y, true, true);
displayEntity(newEntity, newEntity.defaultView, config.x, config.y + (config.lockYAxis ? 0 : config.height.toNumber("meters")/2), true, true);
});

const categoryOption = document.createElement("option");


불러오는 중...
취소
저장