put gameobject name in teleport planets patch

This commit is contained in:
JohnCorby 2023-01-21 20:30:02 -08:00
parent f515d054c7
commit 24e44a6d01

View File

@ -21,7 +21,7 @@ public class TeleportingPlanetsPatch : QSBPatch
{
if (__instance.TryGetComponent<AstroObject>(out var astroObject) && astroObject._name != AstroObject.Name.ProbeCannon)
{
DebugLog.ToAll($"AHHHHHHHHH!!!!!!!!!\n{Environment.StackTrace}", MessageType.Error);
DebugLog.ToAll($"AHHHHHHHHH!!!!!!!!!\n{__instance.name}\n{Environment.StackTrace}", MessageType.Error);
}
}
}