Spaces:
Running
Running
cutechicken
commited on
Commit
•
bf18167
1
Parent(s):
18e7cf3
Update game.js
Browse files
game.js
CHANGED
@@ -583,7 +583,7 @@ class Enemy {
|
|
583 |
|
584 |
async initialize(loader) {
|
585 |
try {
|
586 |
-
const modelPath = this.type === 'tank' ? '/models/
|
587 |
const result = await loader.loadAsync(modelPath);
|
588 |
this.mesh = result.scene;
|
589 |
this.mesh.position.copy(this.position);
|
|
|
583 |
|
584 |
async initialize(loader) {
|
585 |
try {
|
586 |
+
const modelPath = this.type === 'tank' ? '/models/t90.glb' : '/models/t90.glb';
|
587 |
const result = await loader.loadAsync(modelPath);
|
588 |
this.mesh = result.scene;
|
589 |
this.mesh.position.copy(this.position);
|