mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Clean up
This commit is contained in:
parent
b67b9efc31
commit
d8b5b897de
@ -889,8 +889,6 @@ export default class BattleScene extends SceneBase {
|
|||||||
|
|
||||||
let battleConfig: FixedBattleConfig = null;
|
let battleConfig: FixedBattleConfig = null;
|
||||||
|
|
||||||
throw new Error('JLIN not implemented.');
|
|
||||||
|
|
||||||
this.resetSeed(newWaveIndex);
|
this.resetSeed(newWaveIndex);
|
||||||
|
|
||||||
const playerField = this.getPlayerField();
|
const playerField = this.getPlayerField();
|
||||||
|
@ -19,6 +19,7 @@ window.onerror = function (message, source, lineno, colno, error) {
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Catch global promise rejections and display them in an alert so users can report the issue.
|
||||||
window.addEventListener('unhandledrejection', (event) => {
|
window.addEventListener('unhandledrejection', (event) => {
|
||||||
let errorString = `Received unhandled promise rejection. Open browser console and click OK to see details.\nReason: ${event.reason}`;
|
let errorString = `Received unhandled promise rejection. Open browser console and click OK to see details.\nReason: ${event.reason}`;
|
||||||
alert(errorString);
|
alert(errorString);
|
||||||
|
Loading…
Reference in New Issue
Block a user