summaryrefslogtreecommitdiff
path: root/Client/Assets/Behavior Designer/Runtime/Actions/Log.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Actions/Log.cs')
-rw-r--r--Client/Assets/Behavior Designer/Runtime/Actions/Log.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Actions/Log.cs b/Client/Assets/Behavior Designer/Runtime/Actions/Log.cs
index b3ce1f2a..a2363d43 100644
--- a/Client/Assets/Behavior Designer/Runtime/Actions/Log.cs
+++ b/Client/Assets/Behavior Designer/Runtime/Actions/Log.cs
@@ -15,11 +15,11 @@ namespace BehaviorDesigner.Runtime.Tasks
public override TaskStatus OnUpdate()
{
// Log the text and return success
- //if (logError.Value) {
- // Debug.LogError(text);
- //} else {
- // Debug.Log(text);
- //}
+ if (logError.Value) {
+ Debug.LogError(text);
+ } else {
+ Debug.Log(text);
+ }
return TaskStatus.Success;
}