fix formatting in lua require and better error handling with dofile,loadfile,etc

This commit is contained in:
Evil Factory
2022-05-04 08:50:17 -03:00
parent 7a6ddccbb7
commit bbea195e7d
6 changed files with 148 additions and 169 deletions
@@ -16,7 +16,7 @@ namespace Barotrauma
Globals = setup.lua.Globals;
}
public DynValue DoString(string code) => setup.DoString(code);
public DynValue DoString(string code) => setup.lua.DoString(code);
}
}
}