Твики (#491)
* Economy additions * Tweak implant cooldowns * Cult stuff * Random appearance aspect nuke ops fix * Auto shuttle enable on round end * Holy water threshold
This commit is contained in:
@@ -164,7 +164,10 @@ namespace Content.Server.VendingMachines
|
||||
private void OnEmagged(EntityUid uid, VendingMachineComponent component, ref GotEmaggedEvent args)
|
||||
{
|
||||
// only emag if there are emag-only items
|
||||
args.Handled = component.EmaggedInventory.Count > 0;
|
||||
args.Handled = component.EmaggedInventory.Count > 0 || component.PriceMultiplier > 0; // WD EDIT START
|
||||
component.PriceMultiplier = 0;
|
||||
UpdateVendingMachineInterfaceState(uid, component);
|
||||
// WD EDIT END
|
||||
}
|
||||
|
||||
private void OnDamage(EntityUid uid, VendingMachineComponent component, DamageChangedEvent args)
|
||||
|
||||
Reference in New Issue
Block a user