Skip to content

Commit

Permalink
13th age tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Toon324 committed Jul 13, 2020
1 parent 918d478 commit f64c2e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tabbed-chatlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Hooks.on("renderChatLog", async function(chatLog, html, user) {
currentTab = tab;

if (tab == "rolls") {
$(".type0").removeClass("hardHide");
$(".type0").show();
$(".type1").hide();
$(".type2").hide();
Expand Down Expand Up @@ -97,7 +98,7 @@ Hooks.on("renderChatMessage", (chatMessage, html, data) => {
}

if (currentTab == "rolls") {
if (data.message.type == 5 && sceneMatches)
if ((chatMessage.data.type == 0 || data.message.type == 5) && sceneMatches)
{
html.css("display", "list-item");
}
Expand Down

0 comments on commit f64c2e9

Please sign in to comment.