Fixed letting go of dragged character when entering/exiting the sub, fixed spawnitems not being visible in the job info window
This commit is contained in:
@@ -87,11 +87,7 @@ namespace Barotrauma
|
||||
currTargetPos = target.SimPosition;
|
||||
|
||||
//if character is outside the sub and target isn't, transform the position
|
||||
if (character.Submarine == null && target.Submarine != null)
|
||||
{
|
||||
//currTargetPos += target.Submarine.SimPosition;
|
||||
}
|
||||
else if (target.Submarine == null)
|
||||
if (character.Submarine != null && target.Submarine == null)
|
||||
{
|
||||
currTargetPos -= character.Submarine.SimPosition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user