From aca8e3479a49b5b34f345ff5bb15c7e267bd8e70 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:42:17 +0100 Subject: view schema --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 9057fa9..f28a9d7 100644 --- a/rules.js +++ b/rules.js @@ -1067,7 +1067,7 @@ exports.VIEW_SCHEMA = { turn: {type: "integer", minimum: 0}, fln_ap: {type: "integer", minimum: 0, maximum: MAX_AP}, fln_psl: {type: "integer", minimum: 0, maximum: MAX_PSL}, - gov_psl: {type: "integer", minimum: 0, maximum: MAX_PSL}, + gov_psl: {type: "number", minimum: 0, maximum: MAX_PSL, multipleOf: 0.5}, air_avail: {type: "integer", minimum: 0, maximum: MAX_AIR_POINT}, air_max: {type: "integer", minimum: 0, maximum: MAX_AIR_POINT}, helo_avail: {type: "integer", minimum: 0, maximum: MAX_HELO_POINT}, @@ -3012,7 +3012,7 @@ states.fln_deploy_cadre_from_france = { }, loc(to) { let u = game.selected - game.selected = null + game.selected = [] log(`U${u} from A${FRANCE} to ${to}.`) -- cgit v1.2.3