diff --git a/classes/CleanEvent.sc b/classes/CleanEvent.sc index 623b3e8..100ea22 100644 --- a/classes/CleanEvent.sc +++ b/classes/CleanEvent.sc @@ -234,7 +234,7 @@ CleanEvent { ~hash ?? { ~hash = ~snd.identityHash }; // just to be safe }; - if(currentEnvironment.proto[\disk].notNil, { + if(currentEnvironment.proto.notNil and:{currentEnvironment.proto[\disk].notNil}, { cuedBuffer = Buffer.cueSoundFile( server, currentEnvironment.proto.path,