From 6f2b19dbc389599791bcc25201a019ba3c9754ed Mon Sep 17 00:00:00 2001 From: William JCM Date: Wed, 6 Jul 2022 17:22:55 +0200 Subject: [PATCH] SaveTool: fix a condition. --- src/SaveTool/SaveTool_MassViewer_Armour.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SaveTool/SaveTool_MassViewer_Armour.cpp b/src/SaveTool/SaveTool_MassViewer_Armour.cpp index d3841b0..08a18be 100644 --- a/src/SaveTool/SaveTool_MassViewer_Armour.cpp +++ b/src/SaveTool/SaveTool_MassViewer_Armour.cpp @@ -310,7 +310,7 @@ void SaveTool::drawCustomArmourStyles() { break; case DCS_Save: _modifiedBySaveTool = true; - if(_currentMass->writeArmourCustomStyle(i)) { + if(!_currentMass->writeArmourCustomStyle(i)) { _modifiedBySaveTool = false; _queue.addToast(Toast::Type::Error, _currentMass->lastError()); }