updated todo assertion to maybe not be dumb

This commit is contained in:
Bertie690 2025-09-15 21:10:36 -04:00
parent debdb8a715
commit 23e75d7853

View File

@ -1319,7 +1319,7 @@ export class BattleScene extends SceneBase {
this.handleNonFixedBattle(resolved); this.handleNonFixedBattle(resolved);
} }
if (!resolved.battleType) { if (resolved.battleType == null) {
throw new Error("Whoopsie! I guess my type checks were wrong"); throw new Error("Whoopsie! I guess my type checks were wrong");
} }
resolved.double = this.checkIsDouble(resolved as NewBattleConstructedProps); resolved.double = this.checkIsDouble(resolved as NewBattleConstructedProps);