fix DiffCollection

This commit is contained in:
Pavel Merzlyakov 2023-09-11 11:14:55 +03:00
parent 09f332130a
commit 1bf00c816f
1 changed files with 2 additions and 1 deletions

View File

@ -447,7 +447,8 @@ public class {{o.name}} : IRpc
//old items leftovers are considered removed
for(; old_i < old_items.Count; old_i++)
{
removed.Add(old_items[old_i].MakeId());
if(removed != null)
removed.Add(old_items[old_i].MakeId());
has_diff = true;
}