Skip to content

Commit c0923f1

Browse files
committed
Change from delegate to event in NetworkedList.
1 parent c67ca22 commit c0923f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MLAPI/Data/NetworkedCollections/NetworkedList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class NetworkedList<T> : IList<T>, INetworkedVar
3030
/// <summary>
3131
/// The callback to be invoked when the list gets changed
3232
/// </summary>
33-
public OnListChangedDelegate OnListChanged;
33+
public event OnListChangedDelegate OnListChanged;
3434

3535
/// <summary>
3636
/// Creates a NetworkedList with the default value and settings

0 commit comments

Comments
 (0)