20Q : Ignore autocomplete clan/school for pow template
This commit is contained in:
@@ -223,6 +223,7 @@ export class TwentyQuestionsDialog extends FormApplication {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Autocomplete
|
// Autocomplete
|
||||||
|
if (this.object.data.template !== "pow") {
|
||||||
game.l5r5e.HelpersL5r5e.autocomplete(html, "step1.clan", game.l5r5e.HelpersL5r5e.getLocalizedClansList());
|
game.l5r5e.HelpersL5r5e.autocomplete(html, "step1.clan", game.l5r5e.HelpersL5r5e.getLocalizedClansList());
|
||||||
game.l5r5e.HelpersL5r5e.autocomplete(
|
game.l5r5e.HelpersL5r5e.autocomplete(
|
||||||
html,
|
html,
|
||||||
@@ -233,6 +234,7 @@ export class TwentyQuestionsDialog extends FormApplication {
|
|||||||
)?.[0]
|
)?.[0]
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
}
|
||||||
game.l5r5e.HelpersL5r5e.autocomplete(html, "step3.school", game.l5r5e.HelpersL5r5e.getSchoolsList(), ",");
|
game.l5r5e.HelpersL5r5e.autocomplete(html, "step3.school", game.l5r5e.HelpersL5r5e.getSchoolsList(), ",");
|
||||||
game.l5r5e.HelpersL5r5e.autocomplete(html, "step3.roles", game.l5r5e.HelpersL5r5e.getLocalizedRolesList(), ",");
|
game.l5r5e.HelpersL5r5e.autocomplete(html, "step3.roles", game.l5r5e.HelpersL5r5e.getLocalizedRolesList(), ",");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user