Pixel-Composer/scripts/window_functions/window_functions.gml
2023-02-23 13:02:19 +07:00

8 lines
No EOL
127 B
Text

function window_close() {
if(MODIFIED && !READONLY) {
dialogCall(o_dialog_exit);
} else {
PREF_SAVE();
game_end();
}
}