Skip to content

Commit 7cd0b3a

Browse files
committed
promisify AssetLoader.load
1 parent 4d50f0d commit 7cd0b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/scripts/AssetLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {FBXLoader} from "three/examples/jsm/loaders/FBXLoader.js";
33

44
class AssetLoader {
55
constructor() {
6-
this.assets = {};
6+
this.assets = new Map();
77
}
88

99
async init() {

0 commit comments

Comments
 (0)