Fixbugs (#464)
* - fix: Starting gear. * - fix: Lockers. * - tweak: Jani tweaks. * - fix: Mindswap. * - fix: Discounts. * - fix: No nuke operative component on monkey and borg. * - tweak: Ebow. * - fix: Wizard teleport. * - fix: Animals internals toggle. * - fix: Thief icon.
This commit is contained in:
@@ -278,7 +278,7 @@ public sealed partial class StoreSystem
|
||||
_audio.PlayEntity(component.BuySuccessSound, msg.Session, uid); //cha-ching!
|
||||
|
||||
//WD START
|
||||
if (listing.SaleLimit != 0 && listing.SaleAmount > 0 && listing.PurchaseAmount >= listing.SaleLimit && listing.ProductAction.HasValue)
|
||||
if (listing.SaleLimit != 0 && listing.SaleAmount > 0 && listing.PurchaseAmount >= listing.SaleLimit)
|
||||
{
|
||||
listing.SaleAmount = 0;
|
||||
listing.Cost = listing.OldCost;
|
||||
|
||||
Reference in New Issue
Block a user