Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Removed Two Mstack Messages at Round Begin #1528

Merged
merged 3 commits into from
May 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading