Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a0cdaff5db | |||
| 30272cfbf4 | |||
| 46581362fb | |||
| 993cc2b658 |
@@ -1,3 +1,9 @@
|
|||||||
|
## 1.3.3
|
||||||
|
### Bugfixes
|
||||||
|
- Fixed a bug that could cause some settings to not apply if multiple settings were changed at once
|
||||||
|
- Fixed a bug that caused the french translation to not work
|
||||||
|
|
||||||
|
|
||||||
## 1.3.2
|
## 1.3.2
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- The message sent to chat when triggering a locke door alert can now be translated
|
- The message sent to chat when triggering a locke door alert can now be translated
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Keep everyone informed who tried to open which door. Whenever a player tries to
|
|||||||
If the GM tries to open a locked door the sound will only played for him and no chat message will be sent.
|
If the GM tries to open a locked door the sound will only played for him and no chat message will be sent.
|
||||||
|
|
||||||
### Tint Secret Doors
|
### Tint Secret Doors
|
||||||
This tints secret doors in a gay shade to make them easier to discern from regular doors when being zoomed further out.
|
This tints secret doors in a gray shade to make them easier to discern from regular doors when being zoomed further out.
|
||||||
|
|
||||||
|
|
||||||
### Synchronized Doors
|
### Synchronized Doors
|
||||||
|
|||||||
@@ -32,4 +32,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "smart-doors",
|
"name": "smart-doors",
|
||||||
"title": "Smart Doors",
|
"title": "Smart Doors",
|
||||||
"description": "Makes doors smarter. Allows doors to synchronize across multiple scenes and sends chat messages when players try to open locked doors.",
|
"description": "Makes doors smarter. Allows doors to synchronize across multiple scenes and sends chat messages when players try to open locked doors.",
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"minimumCoreVersion" : "9.238",
|
"minimumCoreVersion" : "9.238",
|
||||||
"compatibleCoreVersion" : "9",
|
"compatibleCoreVersion" : "9",
|
||||||
"authors": [
|
"authors": [
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
],
|
],
|
||||||
"url": "https://github.com/manuelVo/foundryvtt-smart-doors",
|
"url": "https://github.com/manuelVo/foundryvtt-smart-doors",
|
||||||
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-smart-doors/master/module.json",
|
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-smart-doors/master/module.json",
|
||||||
"download": "https://github.com/manuelVo/foundryvtt-smart-doors/archive/v1.3.2.zip",
|
"download": "https://github.com/manuelVo/foundryvtt-smart-doors/archive/v1.3.3.zip",
|
||||||
"readme": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/README.md",
|
"readme": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/README.md",
|
||||||
"changelog": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/CHANGELOG.md",
|
"changelog": "https://github.com/manuelVo/foundryvtt-smart-doors/blob/master/CHANGELOG.md",
|
||||||
"bugs": "https://github.com/manuelVo/foundryvtt-smart-doors/issues",
|
"bugs": "https://github.com/manuelVo/foundryvtt-smart-doors/issues",
|
||||||
|
|||||||
@@ -2,7 +2,11 @@ export const settingsKey = "smart-doors";
|
|||||||
|
|
||||||
function reloadGM() {
|
function reloadGM() {
|
||||||
if (game.user.isGM)
|
if (game.user.isGM)
|
||||||
location.reload()
|
delayedReload()
|
||||||
|
}
|
||||||
|
|
||||||
|
function delayedReload() {
|
||||||
|
window.setTimeout(() => location.reload(), 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function registerSettings() {
|
export function registerSettings() {
|
||||||
@@ -19,7 +23,7 @@ export function registerSettings() {
|
|||||||
config: true,
|
config: true,
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 1.5,
|
default: 1.5,
|
||||||
onChange: () => location.reload()
|
onChange: delayedReload,
|
||||||
})
|
})
|
||||||
game.settings.register(settingsKey, "highlightSecretDoors", {
|
game.settings.register(settingsKey, "highlightSecretDoors", {
|
||||||
name: "smart-doors.settings.highlightSecretDoors.name",
|
name: "smart-doors.settings.highlightSecretDoors.name",
|
||||||
|
|||||||
Reference in New Issue
Block a user