mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-10-13 23:37:54 -04:00
e07916487d
In WriteMonoSingleSeq, layerPlaceholderOff was recorded before WriteNoshort, causing a stray 0x00 byte to be emitted into the mono channel script. The 0x00 decoded as a delay of 0 ticks, which deferred the subsequent ldlayer byte by one tick and left channel->instrument unset when the layer first processed its note, producing no sound. Move layerPlaceholderOff to after WriteNoshort so the placeholder writes the correct address, matching WriteStereoSingleSeq. Fixes #7264