call round end on sub editor

This commit is contained in:
Evil Factory
2022-06-07 15:05:39 -03:00
parent cac80c3d86
commit 0f72df789b

View File

@@ -1049,6 +1049,7 @@ namespace Barotrauma
(gameSession.GameMode as TestGameMode).OnRoundEnd = () =>
{
GameMain.LuaCs.Hook.Call("roundEnd");
Submarine.Unload();
GameMain.SubEditorScreen.Select();
};