Build 0.21.6.0 (1.0 pre-patch)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Barotrauma.Items.Components;
|
||||
using Barotrauma.Extensions;
|
||||
using Barotrauma.Items.Components;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -308,6 +309,8 @@ namespace Barotrauma
|
||||
#endif
|
||||
}
|
||||
|
||||
if (item.GetComponent<Pickable>() == null || item.AllowedSlots.None()) { return false; }
|
||||
|
||||
bool inSuitableSlot = false;
|
||||
bool inWrongSlot = false;
|
||||
int currentSlot = -1;
|
||||
|
||||
Reference in New Issue
Block a user