From 96f1a7b0a242893a047ec86a0876bc7a1dce2a00 Mon Sep 17 00:00:00 2001 From: Low Yiyiu <10480968+lowyiyiu@users.noreply.github.com> Date: Tue, 21 Feb 2023 23:05:42 +0800 Subject: [PATCH] v1.0.15 - Fixed AUTO queue AGAIN --- app/html/info.html | 2 +- app/js/app.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/html/info.html b/app/html/info.html index 09d0e9f..74a1e15 100644 --- a/app/html/info.html +++ b/app/html/info.html @@ -69,7 +69,7 @@
- Version: 1.0.14
+ Version: 1.0.15
GitHub: https://github.com/lowyiyiu/EasyRunes
diff --git a/app/js/app.js b/app/js/app.js
index 3266165..dc6d74a 100644
--- a/app/js/app.js
+++ b/app/js/app.js
@@ -76,7 +76,7 @@ function getCurrentQueue() {
return new Promise((resolve) => {
api.get('/lol-lobby/v2/lobby').then((data) => {
if (data) {
- if (data.gameConfig.queueId in freezer.get().lolalytics.patch) {
+ if (data.gameConfig.queueId in freezer.get().lolalytics.patch || data.gameConfig.queueId === 420 || data.gameConfig.queueId === 450) {
resolve(data.gameConfig.queueId);
} else {
resolve(420);
diff --git a/package.json b/package.json
index cc8c512..c57d26e 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "easyrunes",
"productName": "EasyRunes",
- "version": "1.0.14",
+ "version": "1.0.15",
"description": "Automate runes selection process for League of Legends",
"main": "app/js/main.js",
"scripts": {