mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Null-conditional
This commit is contained in:
parent
07e3d48dde
commit
b816045c06
@ -332,14 +332,10 @@ public void OnDeserializeDelta(NetworkReader reader)
|
||||
|
||||
if (apply)
|
||||
{
|
||||
SyncListChanged listChanged = Callback;
|
||||
if (listChanged != null)
|
||||
{
|
||||
listChanged(operation, index, item);
|
||||
}
|
||||
Callback?.Invoke(operation, index, item);
|
||||
}
|
||||
// we just skipped this change
|
||||
if (!apply)
|
||||
else
|
||||
{
|
||||
changesAhead--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user