fix ComparableListWatcher not removing items in zero case
This commit is contained in:
parent
e7d29a2f7d
commit
f0e52061e3
|
@ -63,7 +63,7 @@ namespace StardewModdingAPI.Framework.StateTracking.FieldWatchers
|
||||||
{
|
{
|
||||||
if (this.LastValues.Count > 0)
|
if (this.LastValues.Count > 0)
|
||||||
{
|
{
|
||||||
this.AddedImpl.AddRange(this.LastValues);
|
this.RemovedImpl.AddRange(this.LastValues);
|
||||||
this.LastValues.Clear();
|
this.LastValues.Clear();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue