From 4b144a782dbcd3b507baea425e25ba4a5ab39356 Mon Sep 17 00:00:00 2001 From: Atony <75191600+AtonyGit@users.noreply.github.com> Date: Tue, 14 Oct 2025 13:53:02 -0500 Subject: [PATCH] Fix Logger error --- MiraAPI/Patches/Roles/RoleManagerPatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Patches/Roles/RoleManagerPatches.cs b/MiraAPI/Patches/Roles/RoleManagerPatches.cs index 93daa82a..8d135955 100644 --- a/MiraAPI/Patches/Roles/RoleManagerPatches.cs +++ b/MiraAPI/Patches/Roles/RoleManagerPatches.cs @@ -25,7 +25,7 @@ public static class RoleManagerPatches var data = targetPlayer.Data; if (data == null) { - Debug.LogError("It shouldn't be possible, but " + targetPlayer.name + " still doesn't have PlayerData during role selection."); + Error("It shouldn't be possible, but " + targetPlayer.name + " still doesn't have PlayerData during role selection."); return false; } if (data.Role)