mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 02:32:21 +02:00
Missed committing linter changes
This commit is contained in:
parent
f4d9620738
commit
06ca66f391
@ -495,7 +495,7 @@ export function initMoveAnim(scene: BattleScene, move: Moves): Promise<void> {
|
|||||||
const contentType = response.headers.get("content-type");
|
const contentType = response.headers.get("content-type");
|
||||||
if (!response.ok || contentType?.indexOf("application/json") === -1) {
|
if (!response.ok || contentType?.indexOf("application/json") === -1) {
|
||||||
useDefaultAnim(move, defaultMoveAnim);
|
useDefaultAnim(move, defaultMoveAnim);
|
||||||
logMissingMoveAnim(move, response.status, response.statusText)
|
logMissingMoveAnim(move, response.status, response.statusText);
|
||||||
return resolve();
|
return resolve();
|
||||||
}
|
}
|
||||||
return response.json();
|
return response.json();
|
||||||
@ -518,7 +518,7 @@ export function initMoveAnim(scene: BattleScene, move: Moves): Promise<void> {
|
|||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
useDefaultAnim(move, defaultMoveAnim);
|
useDefaultAnim(move, defaultMoveAnim);
|
||||||
logMissingMoveAnim(move, error)
|
logMissingMoveAnim(move, error);
|
||||||
return resolve();
|
return resolve();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user