mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-19 07:20:57 +00:00
Re-enable data import
This commit is contained in:
parent
0fe4d02b87
commit
d07b007567
@ -79,25 +79,21 @@ export default class MenuUiHandler extends MessageUiHandler {
|
||||
|
||||
const manageDataOptions = [];
|
||||
|
||||
if (bypassLogin) {
|
||||
manageDataOptions.push({
|
||||
label: 'Import Session',
|
||||
handler: () => this.scene.gameData.importData(GameDataType.SESSION),
|
||||
keepOpen: true
|
||||
});
|
||||
}
|
||||
manageDataOptions.push({
|
||||
label: 'Import Session',
|
||||
handler: () => this.scene.gameData.importData(GameDataType.SESSION),
|
||||
keepOpen: true
|
||||
});
|
||||
manageDataOptions.push({
|
||||
label: 'Export Session',
|
||||
handler: () => this.scene.gameData.exportData(GameDataType.SESSION),
|
||||
keepOpen: true
|
||||
});
|
||||
if (bypassLogin) {
|
||||
manageDataOptions.push({
|
||||
label: 'Import Data',
|
||||
handler: () => this.scene.gameData.importData(GameDataType.SYSTEM),
|
||||
keepOpen: true
|
||||
});
|
||||
}
|
||||
manageDataOptions.push({
|
||||
label: 'Import Data',
|
||||
handler: () => this.scene.gameData.importData(GameDataType.SYSTEM),
|
||||
keepOpen: true
|
||||
});
|
||||
manageDataOptions.push(
|
||||
{
|
||||
label: 'Export Data',
|
||||
|
Loading…
x
Reference in New Issue
Block a user