318 camshaft timing question

I had pinging issue with my 440 running too cold of a thermostat, it was a high flow 160.. I installed a high flow 180 and left the timing alone. The issue went away...
Huh? That’s almost not possible. There’s no way adding more temperature to an engine cured a detonation problem. And moisture (water) in the chamber would be an anti-detonate.