From 674991943778066f35d0baf1b2c49c5bc4d806f4 Mon Sep 17 00:00:00 2001 From: ducdat0507 <62660527+ducdat0507@users.noreply.github.com> Date: Sat, 24 Dec 2022 19:59:04 +0700 Subject: [PATCH] Extend routing 2 --- src/data/projEntry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index 17f4f76..651983d 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -653,7 +653,7 @@ export function fixOldSave( if (oldVersion !== undefined && oldVersion < "0.6") { if ((player.layers?.main as typeof main)?.day !== undefined) { (player.layers?.main as typeof main).day.value = Math.min( - (player.layers.main as typeof main).day.value, + (player.layers?.main as typeof main).day.value, 23 ); }