Poprawki w rolach zwyciezcow

This commit is contained in:
2025-10-10 21:52:09 +02:00
parent ffd05bf9f0
commit 5930cccfe5
3 changed files with 131 additions and 15 deletions

View File

@@ -338,7 +338,7 @@ public class TouMiraReflectionBridge
}
// Remove "Tou" suffix if present (e.g., "EngineerTou" -> "Engineer", "TrackerTou" -> "Tracker")
if (roleName.EndsWith("Tou"))
if (roleName != null && roleName.EndsWith("Tou"))
{
roleName = roleName.Substring(0, roleName.Length - 3);
}