Faction Test 100.4.0.0

This commit is contained in:
Markus Isberg
2022-11-14 18:28:28 +02:00
parent 87426b68b2
commit c772b61fc1
412 changed files with 16984 additions and 5530 deletions
@@ -65,7 +65,7 @@ namespace Barotrauma
}
#endif
#if CLIENT
(botCountText as GUITextBlock).Text = botCount.ToString();
botCountText.Text = botCount.ToString();
#endif
}
@@ -79,7 +79,13 @@ namespace Barotrauma
}
#endif
#if CLIENT
(botSpawnModeText as GUITextBlock).Text = TextManager.Get(botSpawnMode.ToString());
botSpawnModeText.Text = TextManager.Get(botSpawnMode.ToString());
botSpawnModeText.ToolTip = TextManager.Get($"botspawnmode.{botSpawnMode}.tooltip") + "\n\n" + TextManager.Get("botspawn.campaignnote");
foreach (var btn in botSpawnModeButtons)
{
btn.ToolTip = botSpawnModeText.ToolTip;
}
#endif
}
@@ -89,7 +95,7 @@ namespace Barotrauma
if (GameMain.Server != null) GameMain.Server.ServerSettings.TraitorsEnabled = enabled;
#endif
#if CLIENT
(traitorProbabilityText as GUITextBlock).Text = TextManager.Get(enabled.ToString());
traitorProbabilityText.Text = TextManager.Get(enabled.ToString());
#endif
}
}