Skip to content

Fix practice mode finish messages#1267

Merged
rtldg merged 4 commits intoshavitush:masterfrom
akanora:patch-2
Mar 8, 2026
Merged

Fix practice mode finish messages#1267
rtldg merged 4 commits intoshavitush:masterfrom
akanora:patch-2

Conversation

@akanora
Copy link
Copy Markdown
Contributor

@akanora akanora commented Feb 9, 2026

  • Practice Mode:
    • Added PracticeBetterTime phrase to show negative diff in Red when beating PB.
    • Added logic to show positive diff in White when executing slower than PB.
    • Added fallback to WR comparison if player has no PB.
  • First Completion (No PB):
    • Added FirstCompletionBetter and FirstCompletionWorse phrases.
    • Now displays time difference relative to the Map Record (WR).
    • Shows (-) in Red if faster than WR, (+) in White if slower.
  • World Record Updates:
    • When a player beats the WR (and it's not their first completion), the time difference is now calculated relative to the Previous World Record, not their Personal Best.
  • Spectators:
    • Fixed spectator messages to exactly match the player's message, ensuring correct formatting and colors are relayed.

- Practice Mode:
    - Added `PracticeBetterTime` phrase to show negative diff in Red when beating PB.
    - Added logic to show positive diff in White when executing slower than PB.
    - Added fallback to WR comparison if player has no PB.
- First Completion (No PB):
    - Added `FirstCompletionBetter` and `FirstCompletionWorse` phrases.
    - Now displays time difference relative to the Map Record (WR).
    - Shows `(-)` in Red if faster than WR, `(+)` in White if slower.
- World Record Updates:
    - When a player beats the WR (and it's not their first completion), the time difference is now calculated relative to the *Previous World Record*, not their Personal Best.
- Spectators:
    - Fixed spectator messages to exactly match the player's message, ensuring correct formatting and colors are relayed.
rtldg and others added 2 commits March 5, 2026 04:14
Spectators watching a player who finished with a worse time were
receiving the second-person "WorseTime" phrase ("You have finished...")
in the client's language instead of a third-person message in their
own language.

Now, in the ranked worse-time case, each spectator receives a
separately formatted "NotFirstCompletionWorse" message translated
to their own language, showing the player's name in third person.
@rtldg rtldg merged commit 1a6e297 into shavitush:master Mar 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants