diff --git a/client/src/scripts/managers/uiManager.ts b/client/src/scripts/managers/uiManager.ts index 56f9a04e5..f9f9ae87a 100644 --- a/client/src/scripts/managers/uiManager.ts +++ b/client/src/scripts/managers/uiManager.ts @@ -1038,8 +1038,7 @@ export class UIManager { case KillfeedMessageType.KillLeaderAssigned: { if (victimId === this.game.activePlayerID) { classes.push("kill-feed-item-killer"); - } - else { + } else { classes.push("kill-feed-kill-leader"); } @@ -1071,11 +1070,9 @@ export class UIManager { }`; if (attackerId === this.game.activePlayerID) { classes.push("kill-feed-item-killer"); - } - else if (victimId === this.game.activePlayerID) { + } else if (victimId === this.game.activePlayerID) { classes.push("kill-feed-item-victim"); - } - else { + } else { classes.push("kill-feed-kill-leader"); } this.game.soundManager.play("kill_leader_dead"); @@ -1281,8 +1278,7 @@ class PlayerHealthUI { if (teammate) { this.nameLabel.text(teammate.name); - } - else { + } else { this.nameLabel.text("Loading.."); } } diff --git a/client/src/scripts/news/newsPosts.ts b/client/src/scripts/news/newsPosts.ts index ca12de92f..b19c14a1e 100644 --- a/client/src/scripts/news/newsPosts.ts +++ b/client/src/scripts/news/newsPosts.ts @@ -1,19 +1,19 @@ import { type NewsPost } from "./newsHelper"; export const news: NewsPost[] = [ - { - date: 1717870665000, - author: "HAZEL", - title: "Back in the Saddle", - bannerImage: "../img/news/v0.18.0.png", - content: `After a long break, we're back with some important updates and fun changes. Although we're late, we're celebrating Suroi's 1 year birthday with some new items, and even more exciting, limited edition squads.

+ { + date: 1717870665000, + author: "HAZEL", + title: "Back in the Saddle", + bannerImage: "../img/news/v0.18.0.png", + content: `After a long break, we're back with some important updates and fun changes. Although we're late, we're celebrating Suroi's 1 year birthday with some new items, and even more exciting, limited edition squads.

A revamped moderation system is here to combat those cheater pests with improved efficiency. Say hello to our new Game Moderatrs on Discord!

There's also a new structure, the large bridge. While huge in proportion, it offers plenty of cover and close quarter combat. It's also a perfect spot to set up your squad in a defensive position!

Lots of changes and bug fixes have made it into this update, so check out the full log. Thank you everyone for sticking with us!`, - longContent: `

Suroi v0.18.0

+ longContent: `

Suroi v0.18.0

New features