Fix lint
All checks were successful
Build & deploy / Build & publish server image (pull_request) Has been skipped
Build & deploy / Build & deploy website (pull_request) Successful in 1m22s

This commit is contained in:
Andras Schmelczer 2026-06-21 10:36:15 +01:00
parent f19ada7a1c
commit 614db16e41
2 changed files with 4 additions and 1 deletions

View file

@ -486,7 +486,7 @@ export class CharacterPhysical extends CharacterBase implements DynamicPhysical
this.projectileStrength = Math.min( this.projectileStrength = Math.min(
settings.playerMaxStrength, settings.playerMaxStrength,
this.projectileStrength + this.projectileStrength +
settings.playerStrengthRegenerationPerSeconds * deltaTimeInSeconds, settings.playerStrengthRegenerationPerSeconds * deltaTimeInSeconds,
); );
this.regenerateHealth(deltaTimeInSeconds); this.regenerateHealth(deltaTimeInSeconds);

View file

@ -1,4 +1,7 @@
declare global { declare global {
// `T` must stay to merge with the global `Array<T>` (otherwise TS2428), but it
// is unused by the x/y aliases below.
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface Array<T> { interface Array<T> {
x: number; x: number;
y: number; y: number;