diff --git a/galaxy.js b/galaxy.js index 0bc2777..fc00f92 100644 --- a/galaxy.js +++ b/galaxy.js @@ -225,6 +225,7 @@ export function initGalaxy({ } else { loadCallbacks[slot]?.accept({ slot, content, label }); } + delete loadCallbacks[slot]; break; } case "saved": { @@ -234,6 +235,7 @@ export function initGalaxy({ } else { saveCallbacks[slot]?.accept(slot); } + delete saveCallbacks[slot]; break; } }