Fix LuaScriptManagementService compile error
This commit is contained in:
committed by
Maplewheels
parent
595470ccfb
commit
fe982b15b0
+3
-3
@@ -78,13 +78,13 @@ public class LuaScriptManagementService : ILuaScriptManagementService, ILuaDataS
|
|||||||
|
|
||||||
var result = FluentResults.Result.Ok();
|
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
|
try
|
||||||
{
|
{
|
||||||
_script?.Call(_script.LoadFile(filePath));
|
_script?.Call(_script.LoadFile(filePath.Value));
|
||||||
}
|
}
|
||||||
catch(Exception e)
|
catch(Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user