Просмотр исходного кода

Spawn entities at the bottom-center of the screen, not the world origin

master
Fen Dweller 5 лет назад
Родитель
Сommit
41dc4e7d2b
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Просмотреть файл

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


button.addEventListener("click", e => { button.addEventListener("click", e => {
const newEntity = entityList[select.value].constructor() const newEntity = entityList[select.value].constructor()
displayEntity(newEntity, newEntity.defaultView, 0, 0, true, true);
displayEntity(newEntity, newEntity.defaultView, config.x, config.y, true, true);
}); });


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


Загрузка…
Отмена
Сохранить