From 7d016aebec473a7bee2c20273d085166ed9028e1 Mon Sep 17 00:00:00 2001 From: MrGadget Date: Sat, 10 Aug 2019 19:09:18 -0400 Subject: [PATCH] Update SyncLists.md --- docs/Classes/SyncLists.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;