File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
# The Modding Tree changelog:
2
2
3
+ # v2.6.6 - 9/7/21
3
4
- Added option for shift-clicking nodes toggling their tooltips.
4
5
- Fixed NaN check for setting Decimal values with text boxes.
5
6
- Added display-image, h-line, and v-line to documentation.
6
7
- Fixed an issue with subtab glow colors.
8
+ - Locked/hidden subtabs can't cause node glowing.
7
9
- Fixed being able to buy upgrades on deactivated layers.
8
10
- Updated break_eternity library.
9
11
- Cleaned up buyable/clickable code.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ let modInfo = {
13
13
14
14
// Set your version in num and name
15
15
let VERSION = {
16
- num : "2.6.5.1 " ,
16
+ num : "2.6.6 " ,
17
17
name : "Fixed Reality" ,
18
18
}
19
19
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ var needCanvasUpdate = true;
3
3
4
4
// Don't change this
5
5
const TMT_VERSION = {
6
- tmtNum : "2.6.5.1 " ,
6
+ tmtNum : "2.6.6 " ,
7
7
tmtName : "Fixed Reality"
8
8
}
9
9
Original file line number Diff line number Diff line change @@ -219,12 +219,12 @@ function notifyLayer(name) {
219
219
}
220
220
221
221
function subtabShouldNotify ( layer , family , id ) {
222
- let subtab = { }
223
- if ( family == "mainTabs" ) subtab = tmp [ layer ] . tabFormat [ id ]
224
- else subtab = tmp [ layer ] . microtabs [ family ] [ id ]
225
-
226
- if ( subtab . embedLayer ) return tmp [ subtab . embedLayer ] . notify
227
- else return subtab . shouldNotify
222
+ let subtab = { }
223
+ if ( family == "mainTabs" ) subtab = tmp [ layer ] . tabFormat [ id ]
224
+ else subtab = tmp [ layer ] . microtabs [ family ] [ id ]
225
+ if ( ! subtab . unlocked ) return false
226
+ if ( subtab . embedLayer ) return tmp [ subtab . embedLayer ] . notify
227
+ else return subtab . shouldNotify
228
228
}
229
229
230
230
function subtabResetNotify ( layer , family , id ) {
You can’t perform that action at this time.
0 commit comments