Manages to change building id after occupied by unit owned by certain playerID.