mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 06:02:28 +02:00
Fix lasers
This commit is contained in:
parent
0bd67d494d
commit
46ce68a893
2 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
// note: this constant is currently duplicated in edit.js
|
||||
EDIT_SETTING = "io.highfidelity.isEditting";
|
||||
// note: this constant is currently duplicated in edit.js and ambientSounds.js
|
||||
EDIT_SETTING = "io.highfidelity.isEditing";
|
||||
isInEditMode = function isInEditMode() {
|
||||
return Settings.getValue(EDIT_SETTING);
|
||||
};
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
|
||||
this._toggle = function(hint) {
|
||||
// Toggle between ON/OFF state, but only if not in edit mode
|
||||
if (Settings.getValue("io.highfidelity.isEditting")) {
|
||||
if (Settings.getValue("io.highfidelity.isEditing")) {
|
||||
return;
|
||||
}
|
||||
var props = Entities.getEntityProperties(entity, [ "userData" ]);
|
||||
|
|
Loading…
Reference in a new issue