summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-09 12:42:17 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-09 12:47:19 +0100
commitaca8e3479a49b5b34f345ff5bb15c7e267bd8e70 (patch)
treefeb2aa2002aeff1624f979b50943601d73199d8b
parent2ef1967b5eef0d707a72eb8331240d17bc851204 (diff)
downloadalgeria-aca8e3479a49b5b34f345ff5bb15c7e267bd8e70.tar.gz
view schema
-rw-r--r--rules.js4
1 files 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}.`)