Put this line at the beginning of your player action:

player = my;