Working on pathmod, game crashes when overwriting path