Fix various bugs with construction (#446)
This commit is contained in:
committed by
Pieter-Jan Briers
parent
0595088409
commit
94c00dda95
@@ -91,7 +91,16 @@ namespace Content.Server.GameObjects.Components.Construction
|
||||
{
|
||||
Prototype = prototype;
|
||||
Stage = 1;
|
||||
Sprite.AddLayerWithSprite(prototype.Stages[1].Icon);
|
||||
if(prototype.Stages[1].Icon != null)
|
||||
{
|
||||
Sprite.AddLayerWithSprite(prototype.Stages[1].Icon);
|
||||
}
|
||||
else
|
||||
{
|
||||
Sprite.AddLayerWithSprite(prototype.Icon);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
bool TryProcessStep(ConstructionStep step, IEntity slapped)
|
||||
|
||||
Reference in New Issue
Block a user