Fix artifacts being worth 0 spacebucks (#16749)
This commit is contained in:
@@ -51,7 +51,7 @@ public sealed partial class ArtifactSystem : EntitySystem
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
private void GetPrice(EntityUid uid, ArtifactComponent component, ref PriceCalculationEvent args)
|
private void GetPrice(EntityUid uid, ArtifactComponent component, ref PriceCalculationEvent args)
|
||||||
{
|
{
|
||||||
args.Price =+ GetResearchPointValue(uid, component) * component.PriceMultiplier;
|
args.Price += (GetResearchPointValue(uid, component) + component.ConsumedPoints) * component.PriceMultiplier;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user