fix string & add animation

This commit is contained in:
Gurge44 committed 2025-10-05 13:39:10 +02:00
1 parent f0f8ed2619
commit 2a3add98f7
4 files changed
+26 -8

No files matched your search

+3
View File
@@ -125,6 +125,9 @@ public static class Translator
if (SubmergedCompatibility.IsSubmerged() && int.TryParse(s, out int roomNumber) && roomNumber is >= 128 and <= 135)
s = $"SubmergedRoomName.{roomNumber}";
if (GameStates.InGame && Options.CurrentGameMode == CustomGameMode.Deathrace && int.TryParse(s, out roomNumber) && Deathrace.CoordinateChecks.ContainsKey(roomNumber))
s = "Deathrace.CoordinateCheck";
SupportedLangs langId = TranslationController.InstanceExists ? TranslationController.Instance.currentLanguage.languageID : SupportedLangs.English;
if (console) langId = SupportedLangs.English;