From bffb09cf54cbf5a0097be5d7bac5c3855ecb3419 Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Mon, 9 May 2022 12:54:51 -0300 Subject: [PATCH] added missionsEnded hook --- .../BarotraumaShared/SharedSource/GameSession/GameSession.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Barotrauma/BarotraumaShared/SharedSource/GameSession/GameSession.cs b/Barotrauma/BarotraumaShared/SharedSource/GameSession/GameSession.cs index 249b9477c..b3840e8a0 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/GameSession/GameSession.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/GameSession/GameSession.cs @@ -839,6 +839,8 @@ namespace Barotrauma } } + GameMain.LuaCs.Hook.Call("missionsEnded", missions); + #if CLIENT if (GUI.PauseMenuOpen) {