From 9f1d9c27aee5be8b9a4d8ea6badb1087e77ee837 Mon Sep 17 00:00:00 2001 From: whmsft Date: Fri, 10 Jun 2022 13:57:23 +0530 Subject: [PATCH] no longer needs develop version of dome --- main.wren | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.wren b/main.wren index 37471a5..e756b46 100644 --- a/main.wren +++ b/main.wren @@ -10,7 +10,7 @@ var GAME = "boot" // modes: boot, play, over var DATA = "" var HIGHSCORE = 0 -if (FileSystem.doesFileExist(".data")) { +if (FileSystem.listFiles("./").contains(".data")) { DATA = FileSystem.load(".data") HIGHSCORE = Num.fromString(DATA[1..4]) } else {