From 87639fb0270750de2feb81fb9234356fe6cb1d71 Mon Sep 17 00:00:00 2001 From: sowgro Date: Sun, 18 May 2025 00:55:34 -0400 Subject: [PATCH] Flush writer --- PCK-Studio/Forms/Editor/GameRuleFileEditor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs index 425b2247..105e7633 100644 --- a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs +++ b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs @@ -289,6 +289,7 @@ namespace PckStudio.Forms.Editor JsonSerializer serializer = new JsonSerializer(); serializer.Formatting = Formatting.Indented; serializer.Serialize(writer, _file.Root.ChildRules); + writer.Flush(); } } }