fixed reloadlua breaking __call metamethods, fixed singleplayer crash, added fun things to client-side lua :)

This commit is contained in:
Evil Factory
2021-09-23 21:29:18 -03:00
parent 8d52f2d664
commit d81684cd19
7 changed files with 65 additions and 8 deletions
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
using Barotrauma.Networking;
namespace Barotrauma
{
partial class LuaSetup
{
public class LuaGUI
{
LuaSetup env;
public LuaGUI(LuaSetup _env)
{
env = _env;
}
public ChatBox ChatBox
{
get
{
return GameMain.Client.ChatBox;
}
}
}
}
}