fix client crash

This commit is contained in:
Evil Factory
2022-03-21 17:48:28 -03:00
parent 72cbbce35d
commit 9694895b71
@@ -213,9 +213,9 @@ namespace Barotrauma
game?.Stop();
hook?.Call("stop", new object[] { });
hook = null;
game = null;
networking = null;
hook = new LuaHook();
game = new LuaGame();
networking = new LuaNetworking();
luaScriptLoader = null;
}