diff --git a/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs b/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs --- a/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs +++ b/isometric-park-fna/Engines/ImGuiWindowBridgeEngine.cs @@ -26,7 +26,8 @@ typeof(SetTextVariableMessage), typeof(SetDialogMessage), typeof(DialogChoiceMessage), - typeof(SetOptionMessage))] + typeof(SetOptionMessage), + typeof(QuitGameMessage))] [Reads(typeof(VisibilityComponent), typeof(WindowTypeComponent), typeof(TrespassingPolicyComponent), @@ -204,6 +205,11 @@ SendMessage(message); } + foreach (var message in this.quitGameMessages) + { + SendMessage(message); + } + foreach (var message in this.setOptionMessages) { foreach (var entity in ReadEntities())