diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-18 20:55:24 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-18 20:57:40 +0200 |
commit | 158d74e45d570179d27d9416b646a18fb7a00700 (patch) | |
tree | 104c6c4430462eab691f17a7f76e3e0ed967ed49 | |
parent | 590741e076c4d616404d170b842cbe16ff4551b1 (diff) | |
download | plantagenet-158d74e45d570179d27d9416b646a18fb7a00700.tar.gz |
Remove useless function.
-rw-r--r-- | rules.ts | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 } |