mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Revert "Role Categories & Code Cleanup"
This reverts commit 73eb569bd3.
This commit is contained in:
1 parent
73eb569bd3
commit
cd27417285
214 files changed
+1334
-1265
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user