fixed: carriage return in ${gameport}

gameport variable was not being encoded in to an integer as it had a
carriage return on the end.