Added null check for removed ids

This commit is contained in:
Alexey Chubar 2023-10-20 09:26:40 +04:00
parent f7d0b5f61f
commit 83c6ef8c13
1 changed files with 2 additions and 1 deletions

View File

@ -411,7 +411,8 @@ public class {{o.name}} : IRpc
if(old < item)
{
removed.Add(old.MakeId());
if(removed != null)
removed.Add(old.MakeId());
old_i++;
has_diff = true;
}