Unstable 0.15.15.0 (and the one before it I forgor)
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Barotrauma.Items.Components
|
||||
partial class Turret : Powered, IDrawableComponent, IServerSerializable
|
||||
{
|
||||
private Sprite crosshairSprite, crosshairPointerSprite;
|
||||
public Sprite WeaponIndicatorSprite;
|
||||
|
||||
private GUIProgressBar powerIndicator;
|
||||
|
||||
@@ -134,6 +135,9 @@ namespace Barotrauma.Items.Components
|
||||
case "crosshair":
|
||||
crosshairSprite = new Sprite(subElement, texturePath.Contains("/") ? "" : Path.GetDirectoryName(item.Prefab.FilePath));
|
||||
break;
|
||||
case "weaponindicator":
|
||||
WeaponIndicatorSprite = new Sprite(subElement, texturePath.Contains("/") ? "" : Path.GetDirectoryName(item.Prefab.FilePath));
|
||||
break;
|
||||
case "crosshairpointer":
|
||||
crosshairPointerSprite = new Sprite(subElement, texturePath.Contains("/") ? "" : Path.GetDirectoryName(item.Prefab.FilePath));
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user