Nevertheless, it does have an impact on the world economy. Not as much as it impacts the Iranian economy for sure, no doubt about that, but still, it does have a meaningful impact on the world economy.
However, what other option does Iran have? Iran has only two options in my opinion. Fight the fight or surrender. I personally think Iran will eventually surrender because the situation is not going well for Iran. But the truth is that any long-lasting peace that involves Iran's surrender will not be possible without normalizing our ties with the US, and most importantly, complete normalization with Israel, even if it happens behind the scenes.
It is simply impossible for Iran to reach a deal with the US without recognizing the Israeli dominance in the region. Everything that is a threat to Israel has to be surrendered, most importantly Iran's resistance groups. And that's a tough pill to swallow for the Iranian regime whose entire character in the region has been defined by anti-Israel sentiments since the beginning and defines its security through a network of useless militias instead of relying on more realistic means of deterrence and national security.