Skip to content

Commit

Permalink
UI: Removed Two Mstack Messages at Round Begin (#1528)
Browse files Browse the repository at this point in the history
Merge after #1524

In an effort to reduce the spam in the mstack at round begin, I removed
these two messages. They add no important information to the game and
are kinda redundant.


![image](https://github.com/TTT-2/TTT2/assets/13639408/917be0d6-9a91-483f-91a4-751f29f87e32)
  • Loading branch information
TimGoll committed May 25, 2024
1 parent 1b6b779 commit 5f3e952
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ All notable changes to TTT2 will be documented here. Inspired by [keep a changel
### Removed

- Removed radio tab in shop UI
- Removed `round_restart`, `round_selected` and `round_started` MStack messages to reduce message spawm (by @TimGoll)
- Removed the old tips panel visible to spectators (moved to the new loading screen) (by @TimGoll)

### Breaking Changes
Expand Down
3 changes: 0 additions & 3 deletions gamemodes/terrortown/gamemode/server/sv_main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1249,8 +1249,6 @@ function BeginRound()
-- anymore.
roleselection.SelectRoles()

LANG.Msg("round_selected")

-- Edge case where a player joins just as the round starts and is picked as
-- traitor, but for whatever reason does not get the traitor state msg. So
-- re-send after a second just to make sure everyone is getting it.
Expand All @@ -1275,7 +1273,6 @@ function BeginRound()

-- Sound start alarm
SetRoundState(ROUND_ACTIVE)
LANG.Msg("round_started")
ServerLog("Round proper has begun...\n")

events.Trigger(EVENT_SELECTED)
Expand Down
3 changes: 0 additions & 3 deletions lua/terrortown/lang/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ L.traitors = "Team Traitor"
L.round_minplayers = "Not enough players to start a new round..."
L.round_voting = "Vote in progress, delaying new round by {num} seconds..."
L.round_begintime = "A new round begins in {num} seconds. Prepare yourself."
L.round_selected = "The Traitors have been selected."
L.round_started = "The round has begun!"
L.round_restart = "The round has been forced to restart by an admin."

L.round_traitors_one = "Traitor, you stand alone."
L.round_traitors_more = "Traitor, these are your allies: {names}"
Expand Down

0 comments on commit 5f3e952

Please sign in to comment.