mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 03:45:08 +02:00
fixing teleport module for sit script
This commit is contained in:
parent
c8bb26ae74
commit
601914180d
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
var data = parseJSON(props.userData);
|
||||
if (data !== undefined && data.seat !== undefined) {
|
||||
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;
|
||||
} else {
|
||||
return TARGET.INVALID;
|
||||
|
|
Loading…
Reference in a new issue