Fix catch error

This commit is contained in:
Gregoire Parant 2020-12-18 16:30:22 +01:00
parent 323fa6abba
commit a1fd209578

View File

@ -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