From 00a1a7d1e2fc1148156e75f8d91b4aa4aeece558 Mon Sep 17 00:00:00 2001 From: Hyper_ <40342021+NotHyper-474@users.noreply.github.com> Date: Thu, 4 Dec 2025 01:21:24 -0300 Subject: [PATCH] fix: solve crash when deleting save data --- source/funkin/save/Save.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/save/Save.hx b/source/funkin/save/Save.hx index b0f22d157..95428474c 100644 --- a/source/funkin/save/Save.hx +++ b/source/funkin/save/Save.hx @@ -67,7 +67,7 @@ class Save implements ConsoleClass @:nullSafety(Off) public function new(?data:RawSaveData) { - this.data = data ?? Save.getDefaultData(); + this.data = data ??= Save.getDefaultData(); // Build macro will inject SaveProperty initialization here automatically // Make sure the verison number is up to date before we flush.