- Timestamp:
- Sep 12, 2014, 11:14:11 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/PersistentData/Inventory.cs
r163 r189 27 27 private void ProcessInv (List<InvItem> target, InventoryField[] sourceFields) 28 28 { 29 Monitor.Enter (target); 30 try { 29 lock (target) { 31 30 target.Clear (); 32 31 for (int i = 0; i < sourceFields.Length; i++) { … … 40 39 } 41 40 } 42 } finally {43 Monitor.Exit (target);44 41 } 45 42 }
Note:
See TracChangeset
for help on using the changeset viewer.