mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-07-04 18:22:13 +08:00
Fixed broken import event
This commit is contained in:
+2
-20
@@ -254,12 +254,13 @@
|
|||||||
},
|
},
|
||||||
'import': {
|
'import': {
|
||||||
text: _('import'),
|
text: _('import'),
|
||||||
nextScene: {1: 'confirm'},
|
nextScene: {1: 'confirm'}
|
||||||
},
|
},
|
||||||
'cancel': {
|
'cancel': {
|
||||||
text: _('cancel'),
|
text: _('cancel'),
|
||||||
nextScene: 'end'
|
nextScene: 'end'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'confirm': {
|
'confirm': {
|
||||||
text: [
|
text: [
|
||||||
@@ -275,29 +276,10 @@
|
|||||||
},
|
},
|
||||||
'no': {
|
'no': {
|
||||||
text: _('no'),
|
text: _('no'),
|
||||||
|
|
||||||
nextScene: 'end'
|
nextScene: 'end'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'inputImport': {
|
|
||||||
text: [
|
|
||||||
_('put the save code here.')
|
|
||||||
],
|
|
||||||
textarea: '',
|
|
||||||
buttons: {
|
|
||||||
'okay': {
|
|
||||||
text: _('import'),
|
|
||||||
nextScene: 'end',
|
|
||||||
onChoose: Engine.import64
|
|
||||||
},
|
|
||||||
'cancel': {
|
|
||||||
text: _('cancel'),
|
|
||||||
nextScene: 'end'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'inputImport': {
|
'inputImport': {
|
||||||
text: [_('put the save code here.')],
|
text: [_('put the save code here.')],
|
||||||
textarea: '',
|
textarea: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user