From ea4328389c36d2d7c2b3d7309ccb87ba9192d2a0 Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:39:43 +0100 Subject: [PATCH] Update OMI for GRF Editor --- PCK-Studio/Forms/Editor/GameRuleFileEditor.cs | 3 +-- Vendor/OMI-Lib | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs index d4daade9..1a820646 100644 --- a/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs +++ b/PCK-Studio/Forms/Editor/GameRuleFileEditor.cs @@ -17,7 +17,6 @@ **/ using System; using System.Collections.Generic; -using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; @@ -272,7 +271,7 @@ namespace PckStudio.Forms.Editor { try { - _pckfile?.SetData(new GameRuleFileWriter(_file, compressionLevel, compressionType)); + _pckfile?.SetData(new GameRuleFileWriter(_file)); DialogResult = DialogResult.OK; MessageBox.Show("Saved!"); } diff --git a/Vendor/OMI-Lib b/Vendor/OMI-Lib index bf46386e..211d31a0 160000 --- a/Vendor/OMI-Lib +++ b/Vendor/OMI-Lib @@ -1 +1 @@ -Subproject commit bf46386e771fd573a625dfb124695ee4d8deeba5 +Subproject commit 211d31a060e19410c40418081db2b31ec79784c5