The result was all that mattered for Gillingham boss Gareth Ainsworth on a wet and windy night at Priestfield on Tuesday.