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

Make custom entities have a consistent size when created

They'll always be 3/10ths as tall as the world is.
tags/v0.1.0
Fen Dweller 6 лет назад
Родитель
Сommit
f61a399553
1 измененных файлов: 2 добавлений и 0 удалений
  1. +2
    -0
      macrovision.js

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

@@ -1941,6 +1941,8 @@ function makeCustomEntity(url, x=0.5, y=0.5) {

const entity = maker.constructor();

entity.scale = config.height.toNumber("feet") / 20;

entity.ephemeral = true;
displayEntity(entity, "custom", x, y, true, true);
}


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