mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-24 10:11:05 +00:00
Added respec confirmation checkbox
Plus more tooltip fixes
This commit is contained in:
parent
87d394ee27
commit
b9a858af56
5 changed files with 14 additions and 8 deletions
js
|
@ -3,7 +3,7 @@
|
|||
function respecBuyables(layer) {
|
||||
if (!layers[layer].buyables) return
|
||||
if (!layers[layer].buyables.respec) return
|
||||
if (!confirm("Are you sure you want to respec? This will force you to do a \"" + (tmp[layer].name ? tmp[layer].name : layer) + "\" reset as well!")) return
|
||||
if (!player[layer].noRespecConfirm && !confirm("Are you sure you want to respec? This will force you to do a \"" + (tmp[layer].name ? tmp[layer].name : layer) + "\" reset as well!")) return
|
||||
run(layers[layer].buyables.respec, layers[layer].buyables)
|
||||
updateBuyableTemp(layer)
|
||||
document.activeElement.blur()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue