summaryrefslogtreecommitdiff
path: root/src/client/scripts/room
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-03-07 14:40:57 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-03-07 14:40:57 +0900
commit5b965349a5abed481ef0d6649c02184f7b774036 (patch)
tree6ac86b3a634b0e9fab2fb88896f1ce28e3cc68b6 /src/client/scripts/room
parent12.74.0 (diff)
downloadmisskey-5b965349a5abed481ef0d6649c02184f7b774036.tar.gz
misskey-5b965349a5abed481ef0d6649c02184f7b774036.tar.bz2
misskey-5b965349a5abed481ef0d6649c02184f7b774036.zip
fix assets
Fix #7314 Fix #7313
Diffstat (limited to 'src/client/scripts/room')
-rw-r--r--src/client/scripts/room/room.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/scripts/room/room.ts b/src/client/scripts/room/room.ts
index 8fe3ebdeb0..4450210c6c 100644
--- a/src/client/scripts/room/room.ts
+++ b/src/client/scripts/room/room.ts
@@ -340,7 +340,7 @@ export class Room {
@autobind
private loadRoom() {
const type = this.roomInfo.roomType;
- new GLTFLoader().load(`/static-assets/room/rooms/${type}/${type}.glb`, gltf => {
+ new GLTFLoader().load(`/static-assets/client/room/rooms/${type}/${type}.glb`, gltf => {
gltf.scene.traverse(child => {
if (!(child instanceof THREE.Mesh)) return;
@@ -375,7 +375,7 @@ export class Room {
const def = furnitureDefs.find(d => d.id === furniture.type);
return new Promise<GLTF>((res, rej) => {
const loader = new GLTFLoader();
- loader.load(`/static-assets/room/furnitures/${furniture.type}/${furniture.type}.glb`, gltf => {
+ loader.load(`/static-assets/client/room/furnitures/${furniture.type}/${furniture.type}.glb`, gltf => {
const model = gltf.scene;
// Load animation