Skip to content

Commit

Permalink
Merge pull request #1559 from Miskatonic-Investigative-Society/develop
Browse files Browse the repository at this point in the history
0.10.16
  • Loading branch information
snap01 authored Jun 9, 2024
2 parents d46d8ea + 5a5dd21 commit 370c942
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Happy gaming !

When not specified, all changes were made by @castanhocorreia, @HavlockV, and @snap01.

## Version 0.10.16

When not specified, all changes were made by @castanhocorreia, @HavlockV, and @snap01.

- Fix melee resolution card on FoundryVTT v12

## Version 0.10.15

When not specified, all changes were made by @castanhocorreia, @HavlockV, and @snap01.
Expand Down
2 changes: 1 addition & 1 deletion module/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class CoC7Chat {

// if( chatMessage.getFlag( 'CoC7', 'reveled')){
// }
if (game.user.isGM && chatMessage.type === 0) {
if (game.user.isGM && (chatMessage.type === 0 /* // FoundryVTT v11 */ || chatMessage.style === 0 /* // FoundryVTT v12 */)) {
const card = $(chatMessage.content)[0]
if (card.classList.contains('melee')) {
if (card.dataset.resolved === 'true') {
Expand Down
4 changes: 2 additions & 2 deletions system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "CoC7",
"title": "Call of Cthulhu 7th Edition",
"description": "An implementation of the Call of Cthulhu 7th Edition game system for Foundry Virtual Tabletop.",
"version": "0.10.15",
"version": "0.10.16",
"authors": [
{
"name": "Miskatonic Investigative Society"
Expand Down Expand Up @@ -151,5 +151,5 @@
"secondaryTokenAttribute": "attribs.san",
"url": "https://github.com/Miskatonic-Investigative-Society/CoC7-FoundryVTT",
"manifest": "https://github.com/Miskatonic-Investigative-Society/CoC7-FoundryVTT/releases/latest/download/system.json",
"download": "https://github.com/Miskatonic-Investigative-Society/CoC7-FoundryVTT/releases/download/0.10.15/system.zip"
"download": "https://github.com/Miskatonic-Investigative-Society/CoC7-FoundryVTT/releases/download/0.10.16/system.zip"
}

0 comments on commit 370c942

Please sign in to comment.