mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 21:02:17 +02:00
adjusted code to PR comments
This commit is contained in:
parent
9a63fc94f0
commit
7e87cb38e1
1 changed files with 4 additions and 4 deletions
|
@ -343,13 +343,13 @@ var selectionDisplay = null; // for gridTool.js to ignore
|
|||
Entities.editEntity(pastedEntityIDs[0], offsets);
|
||||
}
|
||||
|
||||
var firstEntityProps = Entities.getEntityProperties(pastedEntityIDs[0], ["position"]);
|
||||
var rezzedPos = firstEntityProps.position;
|
||||
var rezPosition = Entities.getEntityProperties(pastedEntityIDs[0], "position").position;
|
||||
|
||||
Audio.playSound(REZZING_SOUND, {
|
||||
volume: 1.0,
|
||||
position: rezzedPos
|
||||
})
|
||||
position: rezPosition,
|
||||
localOnly: true
|
||||
});
|
||||
|
||||
} else {
|
||||
Window.notifyEditError("Can't import entities: entities would be out of bounds.");
|
||||
|
|
Loading…
Reference in a new issue