mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
Merge pull request #12337 from druiz17/fix-sit-script
fixing teleport module for sit script
This commit is contained in:
commit
81f75925da
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
var data = parseJSON(props.userData);
|
var data = parseJSON(props.userData);
|
||||||
if (data !== undefined && data.seat !== undefined) {
|
if (data !== undefined && data.seat !== undefined) {
|
||||||
var avatarUuid = Uuid.fromString(data.seat.user);
|
var avatarUuid = Uuid.fromString(data.seat.user);
|
||||||
if (Uuid.isNull(avatarUuid) || !AvatarList.getAvatar(avatarUuid)) {
|
if (Uuid.isNull(avatarUuid) || !AvatarList.getAvatar(avatarUuid).sessionUUID) {
|
||||||
return TARGET.SEAT;
|
return TARGET.SEAT;
|
||||||
} else {
|
} else {
|
||||||
return TARGET.INVALID;
|
return TARGET.INVALID;
|
||||||
|
|
Loading…
Reference in a new issue