I'm making a logger script for my game, with a function that when is called, opens the log file, inserts the log text, and then closes it.
But I have run into a problem. Each time the new text overwrites the old one, so I would like to know how to append to the file instead.