Remove break to show all missing required scripts in logs.

This commit is contained in:
Chandler Cox
2023-11-16 21:01:19 -06:00
parent de55ad90b7
commit c4c3a3a5e8

View File

@@ -643,9 +643,8 @@ namespace FlaxEditor.CustomEditors.Dedicated
var requiredScript = script.Actor.GetScript(type.Type);
if (requiredScript == null)
{
Editor.LogWarning($"{script} on {script.Actor} is missing required script of type {type}.");
Editor.LogWarning($"{Utilities.Utils.GetPropertyNameUI(scriptType.Name)} on {script.Actor} is missing a required script of type {type}.");
hasAllRequiredScripts = false;
break;
}
}
}