Hotfix: Fix uplinks allowing buying conditionally restricted items (#35334)
* Initial commit * I just compressed the code * Actually address review
This commit is contained in:
@@ -146,7 +146,7 @@ public sealed partial class StoreSystem
|
||||
//condition checking because why not
|
||||
if (listing.Conditions != null)
|
||||
{
|
||||
var args = new ListingConditionArgs(component.AccountOwner ?? buyer, uid, listing, EntityManager);
|
||||
var args = new ListingConditionArgs(component.AccountOwner ?? GetBuyerMind(buyer), uid, listing, EntityManager);
|
||||
var conditionsMet = listing.Conditions.All(condition => condition.Condition(args));
|
||||
|
||||
if (!conditionsMet)
|
||||
|
||||
Reference in New Issue
Block a user