From 2196df5055d33e2780d7ea35605b7b3927bc7fcd Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 13 Jul 2024 20:39:24 +0200 Subject: remove sun in splendour from event list after playing immediately --- rules.js | 1 + rules.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/rules.js b/rules.js index d006bfb..9b738e6 100644 --- a/rules.js +++ b/rules.js @@ -11043,6 +11043,7 @@ states.sun_in_splendour_now = { locale(loc) { muster_lord(LORD_EDWARD_IV, loc); log(`L${LORD_EDWARD_IV} at S${loc}.`); + set_delete(game.events, game.this_event); end_immediate_event(); }, }; diff --git a/rules.ts b/rules.ts index d34b9a2..ed8ad65 100644 --- a/rules.ts +++ b/rules.ts @@ -12720,6 +12720,7 @@ states.sun_in_splendour_now = { locale(loc) { muster_lord(LORD_EDWARD_IV, loc) log(`L${LORD_EDWARD_IV} at S${loc}.`) + set_delete(game.events, game.this_event) end_immediate_event() }, } -- cgit v1.2.3