SubInventories return "back to normal" if removed from the parent inventory (e.g. crate inventories aren't drawn above the hand slots after dropping the crate)

This commit is contained in:
Regalis
2016-10-09 17:36:11 +03:00
parent f7e98ee6a8
commit f64743a57c
2 changed files with 33 additions and 21 deletions
@@ -311,7 +311,7 @@ namespace Barotrauma
MergeSlots();
}
public override void Update(float deltaTime)
public override void Update(float deltaTime, bool subInventory = false)
{
base.Update(deltaTime);