Fix catch error
This commit is contained in:
parent
323fa6abba
commit
a1fd209578
1 changed files with 1 additions and 1 deletions
|
@ -838,8 +838,8 @@ export class GameScene extends ResizableScene implements CenterListener {
|
||||||
}catch (err){
|
}catch (err){
|
||||||
if(err instanceof TextureError) {
|
if(err instanceof TextureError) {
|
||||||
gameManager.leaveGame(this, SelectCharacterSceneName, new SelectCharacterScene());
|
gameManager.leaveGame(this, SelectCharacterSceneName, new SelectCharacterScene());
|
||||||
throw err;
|
|
||||||
}
|
}
|
||||||
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
//create collision
|
//create collision
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue