more accurate submarine body generation, multiplayer fixes, saving takes HiddenSubPosition into account, fire coordinate fixes, editscreen fixes, checking item triggers in AIObjectiveGoto, netlobbyscreen sync fixes, re-enabled level start/end positions, water edit fixed
This commit is contained in:
@@ -110,6 +110,9 @@ namespace Barotrauma.Items.Components
|
||||
|
||||
public override void Drop(Character dropper)
|
||||
{
|
||||
item.body.Enabled = true;
|
||||
IsActive = false;
|
||||
|
||||
if (picker == null)
|
||||
{
|
||||
if (dropper==null) return;
|
||||
@@ -117,8 +120,8 @@ namespace Barotrauma.Items.Components
|
||||
}
|
||||
if (picker.Inventory == null) return;
|
||||
|
||||
item.body.Enabled = true;
|
||||
IsActive = false;
|
||||
|
||||
item.Submarine = picker.Submarine;
|
||||
|
||||
//item.Unequip();
|
||||
|
||||
|
||||
@@ -107,6 +107,8 @@ namespace Barotrauma.Items.Components
|
||||
}
|
||||
|
||||
if (picker==null || picker.Inventory == null) return;
|
||||
|
||||
item.Submarine = picker.Submarine;
|
||||
|
||||
if (item.body!= null && !item.body.Enabled)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user