From 8ec7333b1eab481f2fa7fc4a2b4c35d25a0e4f80 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 9 Apr 2024 17:22:38 -0400 Subject: [PATCH] Re-disable data imports --- src/ui/menu-ui-handler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/menu-ui-handler.ts b/src/ui/menu-ui-handler.ts index 6ef28d526..26103f51e 100644 --- a/src/ui/menu-ui-handler.ts +++ b/src/ui/menu-ui-handler.ts @@ -114,7 +114,7 @@ export default class MenuUiHandler extends MessageUiHandler { }); }; - if (/*Utils.isLocal*/true) { + if (Utils.isLocal) { manageDataOptions.push({ label: 'Import Session', handler: () => confirmSlot('Select a slot to import to.', () => true, slotId => this.scene.gameData.importData(GameDataType.SESSION, slotId)), @@ -140,7 +140,7 @@ export default class MenuUiHandler extends MessageUiHandler { }, keepOpen: true }); - if (/*Utils.isLocal*/true) { + if (Utils.isLocal) { manageDataOptions.push({ label: 'Import Data', handler: () => this.scene.gameData.importData(GameDataType.SYSTEM),