Skip to content

Commit

Permalink
v0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Moerill committed Jun 15, 2020
1 parent 69cdfcc commit ea8fea4
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# v0.8.2
* Fix settings menu not working for non DnD Systems.

# v0.8.1
* Fix settings menu not showing for non DnD Systems.
* Undid a change making video textures not work anymore.
Expand Down
4 changes: 2 additions & 2 deletions dist/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mess",
"title": "Mess - Moerills enhancing super-suit(e)",
"description": "This module is a mix of QoL changes, enhancements for my game and stuff i play around with. For a complete feature list check the URL down below.",
"version": "0.8.1",
"version": "0.8.2",
"minimumCoreVersion": "0.6.0",
"compatibleCoreVersion": "0.6.2",
"author": "Moerill",
Expand All @@ -28,5 +28,5 @@
],
"manifest": "https://raw.githubusercontent.com/Moerill/mess/master/src/module.json",
"url": "https://github.com/Moerill/mess",
"download": "https://github.com/Moerill/mess/releases/download/v0.8.1/mess.zip"
"download": "https://github.com/Moerill/mess/releases/download/v0.8.2/mess.zip"
}
2 changes: 1 addition & 1 deletion dist/scripts/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/scripts/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/templates/welcome-screen.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ <h2></h2>
<p style="text-align: right">Want to support development? <a href="https://github.com/Moerill/token-mold#support-the-development">Click here</a></p>
<h2></h2>
<h1>Changelog</h1>
<h2>v0.8.2</h2>
<ul>
<li>Fixed settings menu not working for non DnD systems.... </li>
</ul>
<h2>v0.8.1</h2>
<ul>
<li>Fix settings menu not showing for non DnD systems.</li>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "module-template",
"version": "0.8.1",
"version": "0.8.2",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
4 changes: 2 additions & 2 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mess",
"title": "Mess - Moerills enhancing super-suit(e)",
"description": "This module is a mix of QoL changes, enhancements for my game and stuff i play around with. For a complete feature list check the URL down below.",
"version": "0.8.1",
"version": "0.8.2",
"minimumCoreVersion": "0.6.0",
"compatibleCoreVersion": "0.6.2",
"author": "Moerill",
Expand All @@ -28,5 +28,5 @@
],
"manifest": "https://raw.githubusercontent.com/Moerill/mess/master/src/module.json",
"url": "https://github.com/Moerill/mess",
"download": "https://github.com/Moerill/mess/releases/download/v0.8.1/mess.zip"
"download": "https://github.com/Moerill/mess/releases/download/v0.8.2/mess.zip"
}
9 changes: 6 additions & 3 deletions src/scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,13 @@ export class MessSettings extends FormApplication {
}

getData() {
const isDnD = game.system.id === 'dnd5e';
let data = super.getData();
data.dmgTypes = CONFIG.DND5E.damageTypes;
data.templateTypes = CONFIG.MeasuredTemplate.types;
data.isDnD = game.system.id === 'dnd5e';
if (isDnD) {
data.dmgTypes = CONFIG.DND5E.damageTypes;
data.templateTypes = CONFIG.MeasuredTemplate.types;
}
data.isDnD = isDnD;
data.settings = this.getSettingsData();
return data;
}
Expand Down
4 changes: 4 additions & 0 deletions src/templates/welcome-screen.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ <h2></h2>
<p style="text-align: right">Want to support development? <a href="https://github.com/Moerill/token-mold#support-the-development">Click here</a></p>
<h2></h2>
<h1>Changelog</h1>
<h2>v0.8.2</h2>
<ul>
<li>Fixed settings menu not working for non DnD systems.... </li>
</ul>
<h2>v0.8.1</h2>
<ul>
<li>Fix settings menu not showing for non DnD systems.</li>
Expand Down

0 comments on commit ea8fea4

Please sign in to comment.