The selection of cells occurs in the "Game.cs" file in the "UpdMous ()" function, the "IsMoveClick" variable is responsible for the fact that the movement is in progress.
And the fact that the unit cleared the settings is very unusual.