summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-18 20:55:24 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-18 20:57:40 +0200
commit158d74e45d570179d27d9416b646a18fb7a00700 (patch)
tree104c6c4430462eab691f17a7f76e3e0ed967ed49
parent590741e076c4d616404d170b842cbe16ff4551b1 (diff)
downloadplantagenet-158d74e45d570179d27d9416b646a18fb7a00700.tar.gz
Remove useless function.
-rw-r--r--rules.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/rules.ts b/rules.ts
index 7c36685..8194ecd 100644
--- a/rules.ts
+++ b/rules.ts
@@ -4968,10 +4968,6 @@ function end_kings_parley() {
// === MARCH EVENT: PARLIAMENT'S TRUCE ===
-function can_play_parliaments_truce() {
- return game.state === "campaign"
-}
-
function is_truce_in_effect() {
return (
is_event_in_play(EVENT_YORK_PARLIAMENTS_TRUCE) ||
@@ -11205,9 +11201,9 @@ function can_play_held_event_at_campaign(c: Card) {
case EVENT_LANCASTER_SURPRISE_LANDING:
return can_play_surprise_landing()
case EVENT_LANCASTER_PARLIAMENTS_TRUCE:
- return can_play_parliaments_truce()
+ return true
case EVENT_YORK_PARLIAMENTS_TRUCE:
- return can_play_parliaments_truce()
+ return true
}
return false
}