Self-healing mortar with thermoplastic polymer