Custom Machinery: Small bug fix

A bug that caused step sound repeating constantly is fixed.