Xp not in curriculum are now rounded up (down before)

No more automation in stats for Npc (these cheaters !)
20Q Pushed the step3 item's limit to 20 (10 previous)
Gm Tool no longer stuck the escape key process
This commit is contained in:
Vlyan
2021-01-19 12:10:04 +01:00
parent 23db7ed2c2
commit 71a3af85dd
7 changed files with 47 additions and 29 deletions

View File

@@ -48,7 +48,15 @@ export class GmToolsDialog extends FormApplication {
* @override
*/
close() {
// nothing !
// TODO better implementation needed : see KeyboardManager._onEscape(event, up, modifiers)
// This windows is always open, so esc key si stuck at step 2 : Object.keys(ui.windows).length > 0
// Case 3 (GM) - release controlled objects
if (canvas?.ready && game.user.isGM && Object.keys(canvas.activeLayer._controlled).length) {
canvas.activeLayer.releaseAll();
} else {
// Case 4 - toggle the main menu
ui.menu.toggle();
}
}
/**