 {
                console.error('Error loading user save:', error);
                const editorContainer = document.getElementById('editor-container');
                editorContainer.innerHTML = `<div class="error">Error loading save: ${error.message}</div>`;
            }
        }

        async function saveUserSave() {
            const userSelectSave = document.getElementById('userSelectSave');
            const editorContainer = document.getElementById('editor-container');
            
            