Skip to content
Snippets Groups Projects
Commit 6fcb1ba1 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

minor fix to avoid problems when running on "unrelated maps"

parent dfffd599
No related branches found
No related tags found
No related merge requests found
......@@ -818,8 +818,12 @@ USFLogObject* USFGameInstance::GetLogObject()
void USFGameInstance::LogComment(const FString& Comment, bool bAlsoLogToHUD /*= true*/)
{
UniLog.Log("#" + GetParticipant()->GetCurrentTimeAsString() + ": " + Comment, "ParticipantLog");
FSFLoggingUtils::Log("Logged Comment: " + Comment);
if (!GetParticipant())
{
return;
}
UniLog.Log("#" + GetParticipant()->GetCurrentTimeAsString() + ": " + Comment, "ParticipantLog");
if (bAlsoLogToHUD)
{
LogToHUD(Comment);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment