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){
|
||||
if(err instanceof TextureError) {
|
||||
gameManager.leaveGame(this, SelectCharacterSceneName, new SelectCharacterScene());
|
||||
throw err;
|
||||
}
|
||||
throw err;
|
||||
}
|
||||
|
||||
//create collision
|
||||
|
Loading…
Reference in New Issue
Block a user