But when I call it when putting in the char variable
MapRefresh(Dir)
It gives the error in the title. I haven't really set up many functions that needed variables passed into them, so I may be doing something wrong here. I don't know if this matters, but here is the function body.