]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixed syndicate bombs being unpurchasable (#24469)
authoremmafornash <89596994+emmafornash@users.noreply.github.com>
Sun, 28 Jan 2024 03:23:39 +0000 (22:23 -0500)
committerGitHub <noreply@github.com>
Sun, 28 Jan 2024 03:23:39 +0000 (14:23 +1100)
* fixed syndicite bombs being unpurchasable

* removed previous attempt

* added restock condition to listing's equal method

* reverted id change

Content.Shared/Store/ListingPrototype.cs

index d80c5cf6c83af23428f48628c30234cbd623d5ea..b0f72e6dfe680ce2e555841e97f1cde70b2b8157 100644 (file)
@@ -105,7 +105,8 @@ public partial class ListingData : IEquatable<ListingData>, 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))