summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-07-13 20:39:24 +0200
committerTor Andersson <tor@ccxvii.net>2024-07-13 20:39:24 +0200
commit2196df5055d33e2780d7ea35605b7b3927bc7fcd (patch)
tree78c917b02d36735f2b425ed08f02f82544e9f560
parent52c9f0882311a976d3eef1ae842b8500ca844648 (diff)
downloadplantagenet-2196df5055d33e2780d7ea35605b7b3927bc7fcd.tar.gz
remove sun in splendour from event list after playing immediately
-rw-r--r--rules.js1
-rw-r--r--rules.ts1
2 files changed, 2 insertions, 0 deletions
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()
},
}