mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix string & add animation
This commit is contained in:
1 parent
f0f8ed2619
commit
2a3add98f7
4 files changed
+26
-8
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user