Dirty workaround for background music breaking during loading (the music is switched when a round starts), the "wall" at the top of the levels is drawn on top of the lightmap, small fixes in AIObjectiveGetItem and BackGroundSpriteManager
This commit is contained in:
@@ -58,6 +58,8 @@ namespace Barotrauma
|
||||
if (targetItem == null) return;
|
||||
}
|
||||
|
||||
if (moveToTarget == null) return;
|
||||
|
||||
if (Vector2.Distance(character.Position, moveToTarget.Position) < targetItem.PickDistance*2.0f)
|
||||
{
|
||||
int targetSlot = -1;
|
||||
|
||||
Reference in New Issue
Block a user