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(); game?.Stop();
hook?.Call("stop", new object[] { }); hook?.Call("stop", new object[] { });
hook = null; hook = new LuaHook();
game = null; game = new LuaGame();
networking = null; networking = new LuaNetworking();
luaScriptLoader = null; luaScriptLoader = null;
} }