minor refactoring in player movement
fdsgf
merged