From 623037eda0394e4a04c4d969970ac928c3b65edb Mon Sep 17 00:00:00 2001 From: hppeng Date: Thu, 23 Jun 2022 22:33:17 -0700 Subject: [PATCH] HOTFIX: display weapon as the last part of copy for sharing --- js/build_encode_decode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/build_encode_decode.js b/js/build_encode_decode.js index 618bb71..c7c42c4 100644 --- a/js/build_encode_decode.js +++ b/js/build_encode_decode.js @@ -210,7 +210,7 @@ function shareBuild(build) { "> "+build.items[5].statMap.get("displayName")+"\n"+ "> "+build.items[6].statMap.get("displayName")+"\n"+ "> "+build.items[7].statMap.get("displayName")+"\n"+ - "> "+build.items[8].statMap.get("displayName")+" ["+build_powders[4].map(x => powderNames.get(x)).join("")+"]"; + "> "+build.items[15].statMap.get("displayName")+" ["+build_powders[4].map(x => powderNames.get(x)).join("")+"]"; copyTextToClipboard(text); document.getElementById("share-button").textContent = "Copied!"; }