Renamed the settings of AI tasks (#1239)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-27 12:08:00 +01:00
1 parent d19d3d431b
commit a117074972
109 files changed
+3929 -538

No files matched your search

@@ -769,7 +769,7 @@ public sealed class PluginAssistants(bool isInternal, LuaState state, PluginType
foreach (var key in spec.Required)
{
if (!propsTable.TryGetValue(key, out var luaVal))
if (!spec.TryGetValue(propsTable, key, out var luaVal))
{
LOGGER.LogWarning($"Component {type} missing required prop '{key}'.");
return false;
@@ -784,7 +784,7 @@ public sealed class PluginAssistants(bool isInternal, LuaState state, PluginType
foreach (var key in spec.Optional)
{
if (!propsTable.TryGetValue(key, out var luaVal))
if (!spec.TryGetValue(propsTable, key, out var luaVal))
continue;
if (!this.TryConvertComponentPropValue(type, key, luaVal, out var dotNetVal))