Remove the v12 compatibility layer that isn't needed
This commit is contained in:
parent
14b6f85137
commit
dc5bf7aa07
1 changed files with 2 additions and 4 deletions
|
|
@ -1,10 +1,8 @@
|
|||
export function registerUserSettings() {
|
||||
const userScope = game.release.generation >= 13 ? `user` : `client`;
|
||||
|
||||
game.settings.register(`ripcrypt`, `abbrAccess`, {
|
||||
name: `RipCrypt.setting.abbrAccess.name`,
|
||||
hint: `RipCrypt.setting.abbrAccess.hint`,
|
||||
scope: userScope,
|
||||
scope: `user`,
|
||||
type: Boolean,
|
||||
config: true,
|
||||
default: false,
|
||||
|
|
@ -14,7 +12,7 @@ export function registerUserSettings() {
|
|||
game.settings.register(`ripcrypt`, `condensedRange`, {
|
||||
name: `RipCrypt.setting.condensedRange.name`,
|
||||
hint: `RipCrypt.setting.condensedRange.hint`,
|
||||
scope: userScope,
|
||||
scope: `user`,
|
||||
type: Boolean,
|
||||
config: true,
|
||||
default: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue