mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-19 15:31:01 +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 = [];
|
const manageDataOptions = [];
|
||||||
|
|
||||||
if (bypassLogin) {
|
|
||||||
manageDataOptions.push({
|
manageDataOptions.push({
|
||||||
label: 'Import Session',
|
label: 'Import Session',
|
||||||
handler: () => this.scene.gameData.importData(GameDataType.SESSION),
|
handler: () => this.scene.gameData.importData(GameDataType.SESSION),
|
||||||
keepOpen: true
|
keepOpen: true
|
||||||
});
|
});
|
||||||
}
|
|
||||||
manageDataOptions.push({
|
manageDataOptions.push({
|
||||||
label: 'Export Session',
|
label: 'Export Session',
|
||||||
handler: () => this.scene.gameData.exportData(GameDataType.SESSION),
|
handler: () => this.scene.gameData.exportData(GameDataType.SESSION),
|
||||||
keepOpen: true
|
keepOpen: true
|
||||||
});
|
});
|
||||||
if (bypassLogin) {
|
|
||||||
manageDataOptions.push({
|
manageDataOptions.push({
|
||||||
label: 'Import Data',
|
label: 'Import Data',
|
||||||
handler: () => this.scene.gameData.importData(GameDataType.SYSTEM),
|
handler: () => this.scene.gameData.importData(GameDataType.SYSTEM),
|
||||||
keepOpen: true
|
keepOpen: true
|
||||||
});
|
});
|
||||||
}
|
|
||||||
manageDataOptions.push(
|
manageDataOptions.push(
|
||||||
{
|
{
|
||||||
label: 'Export Data',
|
label: 'Export Data',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user