diff --git a/docs/Classes/SyncLists.md b/docs/Classes/SyncLists.md index 9c5d9d45f..52edcb900 100644 --- a/docs/Classes/SyncLists.md +++ b/docs/Classes/SyncLists.md @@ -40,9 +40,9 @@ public struct Item class SyncListItem : SyncList {} -class Player : NetworkBehaviour { - - SyncListItem inventory; +class Player : NetworkBehaviour +{ + SyncListItem inventory = new SyncListItem(); public int coins = 100;