Remove custom terrain when clearing resources. Fixes #4272.
Merge pull request #4277 from pchote/ore-fix

Remove custom terrain when clearing resources.