- npcs wont try grab items from other characters' inventories
- fixed lightcomponent LightSprites "twitching" when the sub is moving - fixed null reference exceptions in Hull.Render if no submarine has been loaded - submarine descriptions - emergency sirens in Aegir & Vellamo - changed the required item for fabricating a wire from "Copper" to "Copper Bar"
This commit is contained in:
@@ -152,7 +152,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
if (light.LightSprite != null)
|
||||
{
|
||||
light.LightSprite.Draw(spriteBatch, new Vector2(item.WorldPosition.X, -item.WorldPosition.Y), lightColor * lightBrightness);
|
||||
light.LightSprite.Draw(spriteBatch, new Vector2(item.DrawPosition.X, -item.DrawPosition.Y), lightColor * lightBrightness);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user