From 30bdb6eb45792b7ea65a3f04cd91d73b90e25377 Mon Sep 17 00:00:00 2001
From: MaZiFAU <marco.alexander.zimmer@fau.de>
Date: Fri, 24 Sep 2021 03:35:55 +0200
Subject: [PATCH] fixed dissappearing names with redo

---
 Assets/Scripts/InteractionEngine/FactHandling/Fact.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Assets/Scripts/InteractionEngine/FactHandling/Fact.cs b/Assets/Scripts/InteractionEngine/FactHandling/Fact.cs
index 7f978207..94d8bd4b 100644
--- a/Assets/Scripts/InteractionEngine/FactHandling/Fact.cs
+++ b/Assets/Scripts/InteractionEngine/FactHandling/Fact.cs
@@ -93,7 +93,7 @@ public string Id {
     // should be called once a constructor call
     public string Label {
         get { // in case of renamed dependables
-            return hasCustomLabel ?
+            return hasCustomLabel && _CustomLabel != null ?
                 _CustomLabel :
                 generateLabel();
         }
-- 
GitLab