print out to the console if the content package Lua folder is being used or not

This commit is contained in:
Evil Factory
2022-07-08 19:44:23 -03:00
parent 1af1fe45ca
commit 8153e4af0c

View File

@@ -473,6 +473,8 @@ namespace Barotrauma
if (File.Exists(LuaSetupFile))
{
PrintMessage("Using LuaSetup.lua from the Barotrauma Lua/ folder.");
try
{
DynValue function = lua.LoadFile(LuaSetupFile);
@@ -485,6 +487,8 @@ namespace Barotrauma
}
else if (luaPackage != null)
{
PrintMessage("Using LuaSetup.lua from the content package.");
string path = Path.GetDirectoryName(luaPackage.Path);
try