That’s how it is… it is enough to delete the old variable from the global scope and create a new one inside the function…
His code in BluePrint will probably break and he’ll have to rewrite it.
That’s one of the reasons I recommend using C++ wherever possible.