SaveTool: fix a condition.

This commit is contained in:
Guillaume Jacquemin 2022-07-06 17:22:55 +02:00
parent e61d4bba85
commit 6f2b19dbc3

View file

@ -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());
}