mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-17 17:06:19 +02:00
Fix module check.
This commit is contained in:
parent
5dbd294166
commit
6b4080b042
1 changed files with 5 additions and 3 deletions
|
@ -106,6 +106,8 @@ function handleAvatarNametagMode(newAvatarNameTagMode) {
|
||||||
|
|
||||||
var nameTag = startup();
|
var nameTag = startup();
|
||||||
|
|
||||||
// if (module) {
|
try {
|
||||||
// module.exports = nameTag;
|
module.exports = nameTag;
|
||||||
// }
|
} catch (e) {
|
||||||
|
// module doesn't exist when script run outside of simplified UI.
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue