Huge Bug on this code

Problems when playing more than one. Push it cause I need to test on
the real server.