diff --git a/Storage/Automation/CSL.cpp b/Storage/Automation/CSL.cpp index 08368ee50..acbdf6fcb 100644 --- a/Storage/Automation/CSL.cpp +++ b/Storage/Automation/CSL.cpp @@ -359,7 +359,12 @@ std::vector CSL::parse(const std::string &file_name) { case Type::KeyDelay: { KeyDelay argument; require(argument.press_delay); - require(argument.interpress_delay); + + uint64_t interpress_delay; + stream >> interpress_delay; + if(!stream.fail()) { + argument.interpress_delay = argument.press_delay; + } uint64_t carriage_return_delay; stream >> carriage_return_delay;