fix: Fixes weapons not serializing lesser poison (#2194)
### Summary Fixes weapons not serializing lesser poison. > [!NOTE] > Dev Note: After applying this fix, fix weapons already in-game using the following command > `[global set poison lesser where baseweapon poison = null poisoncharges > 0`
This commit is contained in:
parent
5de42d94fc
commit
f3bcf89015
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ public abstract partial class BaseWeapon
|
|||
|
||||
[SerializableFieldSaveFlag(7)]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
private bool ShouldSerializePoison() => _poison?.Level > 0;
|
||||
private bool ShouldSerializePoison() => _poison != null;
|
||||
|
||||
[InvalidateProperties]
|
||||
[SerializableField(8)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue