Of course, in the case of a true doomsday situation, gold will also inflate - people will be desperate, and increasing amounts of gold required to get anywhere. Without a functioning economy, everything is scarce => expensive.
I have a gun. You have gold. Which do you think is more valuable?
Force trumps money, currency, and metal. In a true doomsday situation, the guy with the gun will always have more in the bank than the guy with the gold.