Skip to content
Snippets Groups Projects
Commit 9df7956a authored by Malte Christian Kögel's avatar Malte Christian Kögel
Browse files

Added DEBUG MODE message to csv-logs

parent 6a50dfc9
Branches
Tags
No related merge requests found
...@@ -89,7 +89,6 @@ void USFHUDWidget::AddLogMessage(const FString& Text) ...@@ -89,7 +89,6 @@ void USFHUDWidget::AddLogMessage(const FString& Text)
void USFHUDWidget::ClearWidget() void USFHUDWidget::ClearWidget()
{ {
//TODO Clear Debug as well? When is this called?
SetCondition({}); SetCondition({});
SetParticipant("???"); SetParticipant("???");
SetPhase("???"); SetPhase("???");
...@@ -99,7 +98,6 @@ void USFHUDWidget::ClearWidget() ...@@ -99,7 +98,6 @@ void USFHUDWidget::ClearWidget()
FHUDSavedData USFHUDWidget::GetData() FHUDSavedData USFHUDWidget::GetData()
{ {
FHUDSavedData Data; FHUDSavedData Data;
//Data.bInDebugMode = bInDebugMode; // TODO: Do we want to save, whether data has been collected in debug mode? Or should we treat it the same? What happens, if the first half is collected in debug mode, the second half in normal mode
Data.Status = StatusTextBox->GetText().ToString(); Data.Status = StatusTextBox->GetText().ToString();
Data.Participant = ParticipantTextBox->GetText().ToString(); Data.Participant = ParticipantTextBox->GetText().ToString();
Data.Phase = PhaseTextBox->GetText().ToString(); Data.Phase = PhaseTextBox->GetText().ToString();
...@@ -110,8 +108,6 @@ FHUDSavedData USFHUDWidget::GetData() ...@@ -110,8 +108,6 @@ FHUDSavedData USFHUDWidget::GetData()
void USFHUDWidget::SetData(FHUDSavedData Data) void USFHUDWidget::SetData(FHUDSavedData Data)
{ {
//TODO Do we want this?
//SetbInDebugMode(bInDebugMode);
if (Data.Status.StartsWith("Status:")) if (Data.Status.StartsWith("Status:"))
StatusTextBox->SetText(FText::FromString(Data.Status)); StatusTextBox->SetText(FText::FromString(Data.Status));
else else
......
...@@ -765,6 +765,9 @@ void USFGameInstance::OnFadedIn() ...@@ -765,6 +765,9 @@ void USFGameInstance::OnFadedIn()
if(Participant && Participant->GetCurrentCondition()) if(Participant && Participant->GetCurrentCondition())
{ {
//this should be logged first //this should be logged first
if (bInDebugMode) {
USFLoggingBPLibrary::LogComment("Running in DEBUG MODE");
}
USFLoggingBPLibrary::LogComment("Start Condition: " + Participant->GetCurrentCondition()->GetPrettyName()); USFLoggingBPLibrary::LogComment("Start Condition: " + Participant->GetCurrentCondition()->GetPrettyName());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment