I didn't really look into this part of the code in the game to be fair, I might try to do something about it if I have time later.