Prepar release 1.1.0

Automatically redirect on floor0 of TCM map
This commit is contained in:
Gregoire Parant 2021-01-18 22:52:25 +01:00
parent d891a288b5
commit c95419f0e7
2 changed files with 3 additions and 4 deletions

View file

@ -40,7 +40,7 @@ class UrlManager {
if (organizationSlug) {
newUrl = '/@/'+organizationSlug+'/'+worldSlug+'/'+roomSlug;
} else {
newUrl = '/_/global/'+roomSlug;
newUrl = '/@/'+roomSlug;
}
history.pushState({}, 'WorkAdventure', newUrl);
return newUrl;