Revert "Role Categories & Code Cleanup"

This reverts commit 73eb569bd3.
This commit is contained in:
Gurge44 committed 2024-03-09 16:19:18 +01:00
1 parent 73eb569bd3
commit cd27417285
214 files changed
+1334 -1265

No files matched your search

+3 -2
View File
@@ -79,10 +79,11 @@ public class ErrorText : MonoBehaviour
{
var error = new ErrorData(code);
if (0 < error.ErrorLevel)
Logger.Error($"Error: {error}: {error.Message}", "ErrorText");
Logger.Error($"エラー発生: {error}: {error.Message}", "ErrorText");
if (AllErrors.All(e => e.Code != code))
if (!AllErrors.Any(e => e.Code == code))
{
//まだ出ていないエラー
AllErrors.Add(error);
}