Fix weapon state updating logic.

This commit is contained in:
Ottermandias 2024-02-07 01:39:26 +01:00
parent 7653fd22c0
commit b228658414

View file

@ -259,7 +259,7 @@ public class StateEditor(
if (!mergedDesign.Design.DoApplyEquip(weaponSlot))
continue;
if (settings.RespectManual && !state.Sources[weaponSlot, false].IsManual())
if (settings.RespectManual && state.Sources[weaponSlot, false].IsManual())
continue;
var currentType = state.ModelData.Item(weaponSlot).Type;