Local factors can help coral survive global heat waves.