Quellcode durchsuchen

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 vor 5 Jahren
Ursprung
Commit
f61a399553
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. +2
    -0
      macrovision.js

+ 2
- 0
macrovision.js Datei anzeigen

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


Laden…
Abbrechen
Speichern