implemented location reset for ships