narrat 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/narrat.es.js CHANGED
@@ -38558,7 +38558,7 @@ const xI = "gameSave", Ih = "###_--_~=:;_JUMP", y1 = "###_--_~=:;_RETURN", LQ =
38558
38558
  function DQ(t) {
38559
38559
  return t === Ih || t === y1 || t === LQ || t === Ph;
38560
38560
  }
38561
- const RQ = "2.6.0", zQ = new Date("2022-08-09T18:06:15.795Z"), h5 = (t, e) => {
38561
+ const RQ = "2.6.1", zQ = new Date("2022-08-09T18:14:43.504Z"), h5 = (t, e) => {
38562
38562
  const n = {};
38563
38563
  for (const r in t)
38564
38564
  e(t[r]) && (n[r] = t[r]);
@@ -40045,7 +40045,7 @@ const Gt = Vi("main", {
40045
40045
  const e = Vg();
40046
40046
  e && (t = e.id);
40047
40047
  }
40048
- this.setSaveSlot(t), this.startMachine(), await this.autoSaveGame({ slotId: t }), mn().runGame();
40048
+ this.setSaveSlot(t), this.startMachine(), mn().runGame();
40049
40049
  },
40050
40050
  async loadGame(t, e) {
40051
40051
  if (ft().saves.mode === "manual") {
@@ -42441,7 +42441,7 @@ const Kee = { class: "title" }, Qee = { key: 0 }, Yee = { class: "saves-section"
42441
42441
  key: y.id,
42442
42442
  saveSlot: y,
42443
42443
  id: y.id,
42444
- actions: y.saveData ? a : [],
42444
+ actions: a,
42445
42445
  onChoice: (b) => p(y.id, b)
42446
42446
  }, null, 8, ["saveSlot", "id", "actions", "onChoice"]))), 128))
42447
42447
  ]),
@@ -42460,7 +42460,7 @@ const Kee = { class: "title" }, Qee = { key: 0 }, Yee = { class: "saves-section"
42460
42460
  key: y.id,
42461
42461
  saveSlot: y,
42462
42462
  id: y.id,
42463
- actions: y.saveData ? a : [],
42463
+ actions: a,
42464
42464
  onChoice: (b) => p(y.id, b)
42465
42465
  }, null, 8, ["saveSlot", "id", "actions", "onChoice"]))), 128))
42466
42466
  ]),
@@ -42535,7 +42535,8 @@ const ite = { id: "game-menu" }, ote = {
42535
42535
  o.value = !0;
42536
42536
  }
42537
42537
  function h({ slotId: v }) {
42538
- i.value = v, oc(v) ? f() : s();
42538
+ const m = oc(v);
42539
+ m && m.saveData ? (i.value = v, f()) : s();
42539
42540
  }
42540
42541
  sl(() => {
42541
42542
  const v = ft();