From: emmafornash <89596994+emmafornash@users.noreply.github.com> Date: Sun, 28 Jan 2024 03:23:39 +0000 (-0500) Subject: Fixed syndicate bombs being unpurchasable (#24469) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=af632690a1619703da0b6158dee1b9eae7ae7c6d;p=space-station-14.git Fixed syndicate bombs being unpurchasable (#24469) * fixed syndicite bombs being unpurchasable * removed previous attempt * added restock condition to listing's equal method * reverted id change --- diff --git a/Content.Shared/Store/ListingPrototype.cs b/Content.Shared/Store/ListingPrototype.cs index d80c5cf6c8..b0f72e6dfe 100644 --- a/Content.Shared/Store/ListingPrototype.cs +++ b/Content.Shared/Store/ListingPrototype.cs @@ -105,7 +105,8 @@ public partial class ListingData : IEquatable, ICloneable Description != listing.Description || ProductEntity != listing.ProductEntity || ProductAction != listing.ProductAction || - ProductEvent != listing.ProductEvent) + ProductEvent != listing.ProductEvent || + RestockTime != listing.RestockTime) return false; if (Icon != null && !Icon.Equals(listing.Icon))