Fix artifacts being worth 0 spacebucks (#16749)

This commit is contained in:
0x6273
2023-05-24 01:52:32 +02:00
committed by GitHub
parent 0bf5d04b93
commit 8310a2df31

View File

@@ -51,7 +51,7 @@ public sealed partial class ArtifactSystem : EntitySystem
/// </remarks>
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>