Pixel-Composer/scripts/window_functions/window_functions.gml

8 lines
127 B
Text
Raw Normal View History

2023-02-23 07:02:19 +01:00
function window_close() {
if(MODIFIED && !READONLY) {
dialogCall(o_dialog_exit);
} else {
PREF_SAVE();
game_end();
}
}