Pārlūkot izejas kodu

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

master
Fen Dweller pirms 5 gadiem
vecāks
revīzija
e3cd13aaa7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Parādīt failu

@@ -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");


Notiek ielāde…
Atcelt
Saglabāt