Update the brace format from 1tbs to stroustrup

This commit is contained in:
Eldritch-Oliver 2025-10-08 23:10:15 -06:00
parent 1c7308e188
commit 3dd3139281
13 changed files with 31 additions and 16 deletions

View file

@ -88,7 +88,8 @@ export class DelveDiceHUD extends HandlebarsApplicationMixin(ApplicationV2) {
const existing = document.getElementById(element.id);
if (existing) {
existing.replaceWith(element);
} else {
}
else {
const parent = document.getElementById(`ui-top`);
parent.prepend(element);
};
@ -292,7 +293,8 @@ export class DelveDiceHUD extends HandlebarsApplicationMixin(ApplicationV2) {
if (delta === 0 || !shouldUpdateSands) { return };
if (game.user.isActiveGM) {
ui.delveDice.sandsOfFateDelta(delta);
} else {
}
else {
game.socket.emit(`system.ripcrypt`, {
event: `updateSands`,
payload: { delta },