 The tents had been burned, but there was a new building where the main tent had been.
The tents had replaced the building.
 Палатки были сожжены, но на месте главной палатки появилось новое здание.
Палатки заменили здание.