Skip to content

Commit

Permalink
await guild name retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkLightTuna committed Feb 5, 2024
1 parent 4926c01 commit a3a22b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/settings-form-application.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class OronderSettingsFormApplication extends FormApplication {
.catch(Logger.error)

if (!this.object.guild_name) {
this._set_guild_name(requestOptions)
await this._set_guild_name(requestOptions)
}

let updated = false
Expand Down
4 changes: 2 additions & 2 deletions src/settings.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ export const registerSettings = async () => {
scope: "world",
type: String,
config: false,
default:''
default: ''
})

game.settings.register(MODULE_ID, AUTH, {
scope: "world",
type: String,
config: false,
default:''
default: ''
})

game.settings.register(MODULE_ID, ID_MAP, {
Expand Down

0 comments on commit a3a22b2

Please sign in to comment.