fixed logic error for pressure plate message delay