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.