Suppression de l'option "mode test roll V2"

Ce mode permettait de ne pas fermer la fenêtre de jet pour des tests
répétitifs, ce n'est plus nécessaire
This commit is contained in:
2025-12-14 19:51:59 +01:00
parent 67a085f884
commit df9f8a9f5f
2 changed files with 1 additions and 4 deletions

View File

@@ -42,7 +42,6 @@ import ChatRollResult from "./chat-roll-result.mjs";
import { renderTemplate } from "../constants.js";
import { RollTypeCuisine } from "./roll-type-cuisine.mjs";
import { RollPartCuisine } from "./roll-part-cuisine.mjs";
import { OptionsAvancees, ROLL_DIALOG_V2_TEST } from "../settings/options-avancees.js";
import { ActorImpacts } from "../technical/actor-impacts.mjs";
import { RollPartEmpoignade } from "./roll-part-empoignade.mjs";
import { RollPartEmpoignadeTaille } from "./roll-part-empoignade-taille.mjs";
@@ -199,7 +198,7 @@ export default class RollDialog extends HandlebarsApplicationMixin(ApplicationV2
}
static onRollDoneClose(dialog, roll) {
if (roll.type.retry || !OptionsAvancees.isUsing(ROLL_DIALOG_V2_TEST)) {
if (roll.type.retry) {
dialog.close()
}
}