always set hash
This commit is contained in:
parent
adac0df05d
commit
954d39bb0c
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ import { isMapDetailsData } from "../Messages/JsonMessages/MapDetailsData";
|
||||||
import { isRoomRedirect } from "../Messages/JsonMessages/RoomRedirect";
|
import { isRoomRedirect } from "../Messages/JsonMessages/RoomRedirect";
|
||||||
|
|
||||||
export class MapDetail {
|
export class MapDetail {
|
||||||
constructor(public readonly mapUrl: string, public readonly textures: CharacterTexture[] | undefined) {}
|
constructor(public readonly mapUrl: string, public readonly textures: CharacterTexture[] | undefined) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RoomRedirect {
|
export interface RoomRedirect {
|
||||||
|
@ -91,9 +91,9 @@ export class Room {
|
||||||
}
|
}
|
||||||
|
|
||||||
baseUrl.pathname = "/_/" + instance + "/" + absoluteExitSceneUrl.host + absoluteExitSceneUrl.pathname;
|
baseUrl.pathname = "/_/" + instance + "/" + absoluteExitSceneUrl.host + absoluteExitSceneUrl.pathname;
|
||||||
if (absoluteExitSceneUrl.hash) {
|
|
||||||
baseUrl.hash = absoluteExitSceneUrl.hash;
|
baseUrl.hash = absoluteExitSceneUrl.hash;
|
||||||
}
|
|
||||||
|
|
||||||
return baseUrl;
|
return baseUrl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue