e309xerz0wpw
Member
GML:
#event other_game_start
if !directory_exists(working_directory + "\config\")
{
directory_create(working_directory + "\config\");
}
#event step
if directory_exists(working_directory + "\config\")
{
game_end();
}
#event other_game_end
if directory_exists(working_directory + "\config\")
{
directory_destroy(working_directory + "\config\");
}
the documentation appears incorrect on https://docs.yoyogames.com/source/dadiospice/002_reference/file handling/directory_exists.html
wats the correct syntax here? im out of guesses