Fix catch error
This commit is contained in:
parent
323fa6abba
commit
a1fd209578
@ -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…
Reference in New Issue
Block a user