Fix LuaScriptManagementService compile error

This commit is contained in:
Evil Factory
2026-01-03 11:30:13 -03:00
committed by Maplewheels
parent 595470ccfb
commit fe982b15b0

View File

@@ -78,13 +78,13 @@ public class LuaScriptManagementService : ILuaScriptManagementService, ILuaDataS
var result = FluentResults.Result.Ok();
foreach (var resource in _resourcesInfo)
foreach (ILuaScriptResourceInfo resource in _resourcesInfo)
{
foreach (var filePath in resource.FilePaths)
foreach (ContentPath filePath in resource.FilePaths)
{
try
{
_script?.Call(_script.LoadFile(filePath));
_script?.Call(_script.LoadFile(filePath.Value));
}
catch(Exception e)
{