Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Jul 15, 2024
1 parent 8f0d0ed commit 17b33af
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 24 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-002740
MANIFEST-002804
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/07/07-21:17:13.647 6b64 Recovering log #2738
2024/07/07-21:17:13.651 6b64 Delete type=0 #2738
2024/07/07-21:17:13.651 6b64 Delete type=3 #2736
2024/07/15-13:32:37.458 2574 Recovering log #2802
2024/07/15-13:32:37.461 2574 Delete type=0 #2802
2024/07/15-13:32:37.461 2574 Delete type=3 #2800
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/07/07-20:46:29.243 5018 Recovering log #2734
2024/07/07-20:46:29.246 5018 Delete type=0 #2734
2024/07/07-20:46:29.246 5018 Delete type=3 #2732
2024/07/07-21:17:02.110 61c4 Level-0 table #2739: started
2024/07/07-21:17:02.110 61c4 Level-0 table #2739: 0 bytes OK
2024/07/07-21:17:02.111 61c4 Delete type=0 #2737
2024/07/07-21:17:02.117 61c4 Manual compaction at level-0 from '!scenes!i1noRqT20RD5stIK' @ 72057594037927935 : 1 .. '!scenes.walls!zksLSgRdh6f8jiUO.z5ptMNOLPqAgK6MH' @ 0 : 0; will stop at (end)
2024/07/07-21:17:02.117 61c4 Manual compaction at level-1 from '!scenes!i1noRqT20RD5stIK' @ 72057594037927935 : 1 .. '!scenes.walls!zksLSgRdh6f8jiUO.z5ptMNOLPqAgK6MH' @ 0 : 0; will stop at (end)
2024/07/13-02:12:43.307 760c Recovering log #2799
2024/07/13-02:12:43.310 760c Delete type=0 #2799
2024/07/13-02:12:43.310 760c Delete type=3 #2798
2024/07/13-02:12:55.511 2e50 Level-0 table #2803: started
2024/07/13-02:12:55.511 2e50 Level-0 table #2803: 0 bytes OK
2024/07/13-02:12:55.513 2e50 Delete type=0 #2801
2024/07/13-02:12:55.513 2e50 Manual compaction at level-0 from '!scenes!i1noRqT20RD5stIK' @ 72057594037927935 : 1 .. '!scenes.walls!zksLSgRdh6f8jiUO.z5ptMNOLPqAgK6MH' @ 0 : 0; will stop at (end)
2024/07/13-02:12:55.513 2e50 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-002735
MANIFEST-002799
6 changes: 3 additions & 3 deletions packs/macros/LOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
2024/07/07-21:17:13.641 38ec Recovering log #2733
2024/07/07-21:17:13.645 38ec Delete type=0 #2733
2024/07/07-21:17:13.645 38ec Delete type=3 #2731
2024/07/15-13:32:37.444 7478 Recovering log #2797
2024/07/15-13:32:37.448 7478 Delete type=0 #2797
2024/07/15-13:32:37.448 7478 Delete type=3 #2795
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/07/07-20:46:29.237 38ec Recovering log #2729
2024/07/07-20:46:29.241 38ec Delete type=0 #2729
2024/07/07-20:46:29.241 38ec Delete type=3 #2727
2024/07/07-21:17:02.113 61c4 Level-0 table #2734: started
2024/07/07-21:17:02.113 61c4 Level-0 table #2734: 0 bytes OK
2024/07/07-21:17:02.114 61c4 Delete type=0 #2732
2024/07/07-21:17:02.117 61c4 Manual compaction at level-0 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
2024/07/07-21:17:02.117 61c4 Manual compaction at level-1 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
2024/07/13-02:12:43.297 7404 Recovering log #2794
2024/07/13-02:12:43.301 7404 Delete type=0 #2794
2024/07/13-02:12:43.301 7404 Delete type=3 #2793
2024/07/13-02:12:55.507 2e50 Level-0 table #2798: started
2024/07/13-02:12:55.507 2e50 Level-0 table #2798: 0 bytes OK
2024/07/13-02:12:55.508 2e50 Delete type=0 #2796
2024/07/13-02:12:55.509 2e50 Manual compaction at level-0 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
2024/07/13-02:12:55.509 2e50 Manual compaction at level-1 from '!macros!2LfY4Ky5rRDkK7h8' @ 72057594037927935 : 1 .. '!macros!yx7Eb76rfzjh0LEO' @ 0 : 0; will stop at (end)
Binary file not shown.
1 change: 1 addition & 0 deletions scripts/handlers/refreshHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export class RefreshHandler{
static refreshPlaceables(){
this.refresh(canvas.tiles);
this.refresh(canvas.drawings);
canvas.perception.update({ refreshOcclusion: true }, true);
}

static refreshAll(){
Expand Down
1 change: 1 addition & 0 deletions scripts/wrappers.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export function registerWrappers() {
"TokenLayer.prototype._getOccludableTokens",
function (wrapped, ...args) {
if (game.user.isGM) return wrapped(...args);
debugger
const isLevels = canvas.scene?.flags?.levels?.sceneLevels?.length > 0;
if (!isLevels) return wrapped(...args);
return CONFIG.Levels.currentToken ? [CONFIG.Levels.currentToken] : [];
Expand Down

0 comments on commit 17b33af

Please sign in to comment.