Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Oct 12, 2024
1 parent 2b9aed1 commit e99285e
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion packs/levels-samples/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-003124
MANIFEST-003226
6 changes: 3 additions & 3 deletions packs/levels-samples/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
2024/09/03-21:40:48.817 6180 Recovering log #3122
2024/09/03-21:40:48.821 6180 Delete type=0 #3122
2024/09/03-21:40:48.821 6180 Delete type=3 #3120
2024/10/12-12:42:52.033 74f8 Recovering log #3224
2024/10/12-12:42:52.036 74f8 Delete type=0 #3224
2024/10/12-12:42:52.036 74f8 Delete type=3 #3222
16 changes: 8 additions & 8 deletions packs/levels-samples/LOG.old
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
2024/09/03-17:12:47.855 2ad4 Recovering log #3118
2024/09/03-17:12:47.859 2ad4 Delete type=0 #3118
2024/09/03-17:12:47.859 2ad4 Delete type=3 #3116
2024/09/03-17:15:30.223 3164 Level-0 table #3123: started
2024/09/03-17:15:30.223 3164 Level-0 table #3123: 0 bytes OK
2024/09/03-17:15:30.224 3164 Delete type=0 #3121
2024/09/03-17:15:30.232 3164 Manual compaction at level-0 from '!scenes!i1noRqT20RD5stIK' @ 72057594037927935 : 1 .. '!scenes.walls!zksLSgRdh6f8jiUO.z5ptMNOLPqAgK6MH' @ 0 : 0; will stop at (end)
2024/09/03-17:15:30.248 3164 Manual compaction at level-1 from '!scenes!i1noRqT20RD5stIK' @ 72057594037927935 : 1 .. '!scenes.walls!zksLSgRdh6f8jiUO.z5ptMNOLPqAgK6MH' @ 0 : 0; will stop at (end)
2024/10/10-18:31:57.218 d18 Recovering log #3221
2024/10/10-18:31:57.222 d18 Delete type=0 #3221
2024/10/10-18:31:57.222 d18 Delete type=3 #3220
2024/10/10-18:51:07.067 45fc Level-0 table #3225: started
2024/10/10-18:51:07.068 45fc Level-0 table #3225: 0 bytes OK
2024/10/10-18:51:07.069 45fc Delete type=0 #3223
2024/10/10-18:51:07.069 45fc Manual compaction at level-0 from '!scenes!i1noRqT20RD5stIK' @ 72057594037927935 : 1 .. '!scenes.walls!zksLSgRdh6f8jiUO.z5ptMNOLPqAgK6MH' @ 0 : 0; will stop at (end)
2024/10/10-18:51:07.069 45fc Manual compaction at level-1 from '!scenes!i1noRqT20RD5stIK' @ 72057594037927935 : 1 .. '!scenes.walls!zksLSgRdh6f8jiUO.z5ptMNOLPqAgK6MH' @ 0 : 0; will stop at (end)
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion packs/macros/CURRENT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MANIFEST-003119
MANIFEST-003221
6 changes: 3 additions & 3 deletions packs/macros/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
2024/09/03-21:40:48.804 5a0c Recovering log #3117
2024/09/03-21:40:48.807 5a0c Delete type=0 #3117
2024/09/03-21:40:48.807 5a0c Delete type=3 #3115
2024/10/12-12:42:52.019 7500 Recovering log #3219
2024/10/12-12:42:52.023 7500 Delete type=0 #3219
2024/10/12-12:42:52.023 7500 Delete type=3 #3217
16 changes: 8 additions & 8 deletions packs/macros/LOG.old
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
2024/09/03-17:12:47.849 4ef4 Recovering log #3113
2024/09/03-17:12:47.853 4ef4 Delete type=0 #3113
2024/09/03-17:12:47.853 4ef4 Delete type=3 #3111
2024/09/03-17:15:30.253 3164 Level-0 table #3118: started
2024/09/03-17:15:30.253 3164 Level-0 table #3118: 0 bytes OK
2024/09/03-17:15:30.254 3164 Delete type=0 #3116
2024/09/03-17:15:30.256 3164 Manual compaction at level-0 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
2024/09/03-17:15:30.256 3164 Manual compaction at level-1 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
2024/10/10-18:31:57.204 2f20 Recovering log #3216
2024/10/10-18:31:57.206 2f20 Delete type=0 #3216
2024/10/10-18:31:57.208 2f20 Delete type=3 #3215
2024/10/10-18:51:07.063 45fc Level-0 table #3220: started
2024/10/10-18:51:07.063 45fc Level-0 table #3220: 0 bytes OK
2024/10/10-18:51:07.064 45fc Delete type=0 #3218
2024/10/10-18:51:07.064 45fc Manual compaction at level-0 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
2024/10/10-18:51:07.064 45fc Manual compaction at level-1 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/wrappers.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export function registerWrappers() {
"CONFIG.Tile.objectClass.prototype.isVisible",
function (wrapped, ...args) {
const visible = LevelsConfig.handlers.TileHandler.isTileVisible(this);
const hasRestrictions = (this.document.restrictions.light || this.document.restrictions.weather) && !CONFIG.Levels.UI?.rangeEnabled;
if(hasRestrictions) return wrapped(...args);
//const hasRestrictions = (this.document.restrictions.light || this.document.restrictions.weather) && !CONFIG.Levels.UI?.rangeEnabled;
//if(hasRestrictions) return wrapped(...args);
let result = wrapped(...args);
if (CONFIG.Levels.currentToken || canvas.tokens.controlled.length) {
if ((CONFIG.Levels.currentToken ?? canvas.tokens.controlled[0]).losHeight < this.document.elevation) {
Expand Down

0 comments on commit e99285e

Please sign in to comment.