mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 18:02:31 +02:00
Merge pull request #577 from AleziaKurdis/PlacesAppHomeFallback
Home button fallbacking to Tutorial
This commit is contained in:
commit
0cecaa3e54
2 changed files with 5 additions and 2 deletions
|
@ -425,6 +425,9 @@
|
|||
if (placeRecords[i].metaverseRegion !== "local") {
|
||||
placeUrl = "hifi://" + placeRecords[i].address;
|
||||
}
|
||||
if (placeRecords[i].name === "tutorial") {
|
||||
placeUrl = "file:///~/serverless/tutorial.json";
|
||||
}
|
||||
|
||||
//Add the place to the list
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
if (LocationBookmarks.getHomeLocationAddress()) {
|
||||
location.handleLookupString(LocationBookmarks.getHomeLocationAddress());
|
||||
} else {
|
||||
location.goToLocalSandbox();
|
||||
Window.location = "file:///~/serverless/tutorial.json";
|
||||
}
|
||||
} else if (messageObj.action === "GO_BACK" && (n - timestamp) > INTERCALL_DELAY) {
|
||||
location.goBack();
|
||||
|
@ -442,7 +442,7 @@
|
|||
"domain": "",
|
||||
"domainOrder": "ZZZZZZZZZZZZZZZ",
|
||||
"metaverseServer": "",
|
||||
"metaverseRegion": "local"
|
||||
"metaverseRegion": "local"
|
||||
};
|
||||
portalList.push(tutorialPortal);
|
||||
|
||||
|
|
Loading…
Reference in a new issue