Fix missing if statement when logging missing action error (#21560)
This commit is contained in:
@@ -96,7 +96,9 @@ public abstract class SharedActionsSystem : EntitySystem
|
|||||||
if (result != null)
|
if (result != null)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
Log.Error($"Failed to get action from action entity: {ToPrettyString(uid.Value)}");
|
if (logError)
|
||||||
|
Log.Error($"Failed to get action from action entity: {ToPrettyString(uid.Value)}");
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user