This commit is contained in:
2025-12-13 22:33:36 +01:00
parent dc50bf2892
commit 537787575b
5 changed files with 351 additions and 1 deletions

View File

@@ -219,6 +219,36 @@ namespace KCM
{
if (ChatInput.text.Length > 0)
{
if (ChatInput.text.Trim().Equals("/simdebug", StringComparison.OrdinalIgnoreCase))
{
try
{
Main.DumpSimState("chat:/simdebug");
LobbyHandler.AddSystemMessage("Sim state logged to output.txt");
}
catch
{
}
ChatInput.text = "";
return;
}
if (ChatInput.text.Trim().Equals("/unstuck", StringComparison.OrdinalIgnoreCase))
{
try
{
Main.Unstuck("chat:/unstuck");
LobbyHandler.AddSystemMessage("Unstuck requested.");
}
catch
{
}
ChatInput.text = "";
return;
}
if (ChatInput.text.Trim().Equals("/resync", StringComparison.OrdinalIgnoreCase))
{
try