mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-24 02:01:03 +00:00
2.2.8
This commit is contained in:
parent
e8ebd07e3a
commit
595d4916a6
10 changed files with 52 additions and 13 deletions
js
|
@ -627,7 +627,10 @@ function inChallenge(layer, id){
|
|||
var onTreeTab = true
|
||||
function showTab(name) {
|
||||
if (LAYERS.includes(name) && !layerunlocked(name)) return
|
||||
|
||||
if (player.tab === name && player.subtabs[name] && player.subtabs[name].mainTabs) {
|
||||
console.log("momo")
|
||||
player.subtabs[name].mainTabs = Object.keys(layers[name].tabFormat)[0]
|
||||
}
|
||||
var toTreeTab = name == "none"
|
||||
player.tab = name
|
||||
if (player.navTab == "none" && (tmp[name].row !== "side") && (tmp[name].row !== "otherside")) player.lastSafeTab = name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue