deleted repeats, simplify code

deleted repeats, simplify code
Merge branch 'patch-1' of https://github.com/AIMaster/KerbalMultiPlayer into AIMaster-patch-1
Line-endings...