mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-26 10:05:10 +00:00
go to /play, remember last version
This commit is contained in:
@@ -54,10 +54,12 @@ const game = {
|
||||
play: function (version?: string) {
|
||||
if (version) {
|
||||
document.body.style.display = 'none';
|
||||
storage.session.set('lastGame', version);
|
||||
// @ts-expect-error
|
||||
window.top.location.href = version;
|
||||
} else if (selectedVersion) {
|
||||
document.body.style.display = 'none';
|
||||
storage.session.set('lastPage', selectedVersion);
|
||||
// @ts-expect-error
|
||||
window.top.location.href = selectedVersion;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user