fixed unit selection
Merge branch 'master' of github.com:KatekovAnton/MAXNew