Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Files/Input_and_Output/save_screenshot.gml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
// If there is a file with the current name and number,
// advance counter and keep looking:
do {
fname = working_directory+"\"+argument1+argument0+"_"+string(i)+".png";
fname = working_directory+"\\"+argument1+argument0+"_"+string(i)+".png";
i += 1;
} until (!file_exists(fname))
// Once we've got a unused number we'll save the screenshot under it:
screen_save(fname);
return file_exists(fname);
}
}