Fix linting

This commit is contained in:
schmelczerandras 2020-11-17 10:13:31 +01:00
parent e5e928d99a
commit e6376ad059
23 changed files with 33 additions and 58 deletions

View file

@ -11,7 +11,6 @@ import {
deserialize,
TransportEvents,
SetAspectRatioActionCommand,
PlayerInformation,
UpdateOtherPlayerDirections,
clamp,
UpdateGameState,
@ -193,7 +192,7 @@ export class Game extends CommandReceiver {
}px) translateX(-50%) translateY(-50%) rotate(${-angle + Math.PI / 2}rad) `;
});
for (let id in this.arrows) {
for (const id in this.arrows) {
if (
Object.prototype.hasOwnProperty.call(this.arrows, id) &&
command.otherPlayerDirections.find((v) => v.id?.toString() === id) === undefined