g3.6
This commit is contained in:
1 parent
bdeaece35a
commit
16bc5ea38e
11 files changed
+445
-338
No files matched your search
+7
-2
@@ -108,9 +108,14 @@ const _skillCb = {
|
||||
},
|
||||
"unset_epic_border": () => unsetProfileBorder(),
|
||||
"title_of_honor": function() {},
|
||||
"profile_pic": () => updateAllProfiles(userData)
|
||||
"profile_pic": () => updateEverything()
|
||||
};
|
||||
|
||||
function updateEverything() {
|
||||
updateAllProfiles(userData);
|
||||
refreshOverlays();
|
||||
}
|
||||
|
||||
function chooseAccentColor() {
|
||||
var elm = getId("skill_chooseAccentColor");
|
||||
if (!elm) {
|
||||
@@ -142,7 +147,7 @@ function setAccentColor(elm) {
|
||||
|
||||
hideOverlay("skill_chooseAccentColor");
|
||||
_skillCb.accent_color();
|
||||
refreshOverlays();
|
||||
updateEverything()
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -140,7 +140,7 @@ async function activateSkill(elm, data) {
|
||||
try { eval(data.call_unset); } catch (err) { console.error(err); }
|
||||
}
|
||||
}
|
||||
refreshOverlays();
|
||||
updateEverything();
|
||||
}
|
||||
async function _buySkill(data) {
|
||||
const elms = document.getElementsByClassName("skill_" + data.id);
|
||||
|
||||
Reference in new issue
Block a user