diff --git a/html/src/main/java/emu/joric/gwt/GwtAYPSG.java b/html/src/main/java/emu/joric/gwt/GwtAYPSG.java
index a7c98b5..1789f67 100644
--- a/html/src/main/java/emu/joric/gwt/GwtAYPSG.java
+++ b/html/src/main/java/emu/joric/gwt/GwtAYPSG.java
@@ -400,9 +400,6 @@ public void writeRegister(int address, int value) {
} else {
hold = value & 0x01;
alternate = value & 0x02;
- if (hold != 0) {
- attack = alternate;
- }
}
count[ENVELOPE] = period[ENVELOPE];
countEnv = 0x0f;