diff --git a/src/005-passages/eventsPassages.js b/src/005-passages/eventsPassages.js index 6a14f5e69a4883f33769f69d4d412f055653d39b..c9c0031adfeed933e1a62ed820c8ea9789feb3e8 100644 --- a/src/005-passages/eventsPassages.js +++ b/src/005-passages/eventsPassages.js @@ -32,7 +32,8 @@ new App.DomPassage("SE pc birthday", () => App.Events.pcBirthday.runEvent()); /* ### Non Random Events ### */ -new App.DomPassage("Murder Attempt", () => { +new App.DomPassage("Murder Attempt", + () => { if (V.event === "slave trade") { return App.Events.murderAttemptFollowup("slave", V.illegalDeals.slave.company, V.illegalDeals.slave.type); } else if (V.event === "trade deal") { diff --git a/src/005-passages/facilitiesPassages.js b/src/005-passages/facilitiesPassages.js index 94cb18821aecadd07a138363b15e660b1905c662..9d537fa220a3978dfc0837949f2016cc0d5be6a4 100644 --- a/src/005-passages/facilitiesPassages.js +++ b/src/005-passages/facilitiesPassages.js @@ -61,8 +61,10 @@ new App.DomPassage("Agent Select", }, ["jump-from-safe"] ); -new App.DomPassage("Rules Assistant", () => { - const div = document.createElement("div"); - App.RA.options(div); - return div; -}, ["jump-to-safe", "jump-from-safe"]); +new App.DomPassage("Rules Assistant", + () => { + const div = document.createElement("div"); + App.RA.options(div); + return div; + }, ["jump-to-safe", "jump-from-safe"] +); diff --git a/src/005-passages/optionsPassages.js b/src/005-passages/optionsPassages.js index ec6cf6a86d09225e9cc68b31c654cfde8b48b2de..00ce48b86345f5f972262dc8399c754de6f2cddd 100644 --- a/src/005-passages/optionsPassages.js +++ b/src/005-passages/optionsPassages.js @@ -27,8 +27,7 @@ new App.DomPassage("Description Options", V.nextLink = V.storedLink; return App.UI.descriptionOptions(); - }, - ["jump-to-safe", "jump-from-safe"] + }, ["jump-to-safe", "jump-from-safe"] ); new App.DomPassage("Summary Options", @@ -45,8 +44,7 @@ new App.DomPassage("Summary Options", V.passageSwitchHandler = App.EventHandlers.optionsChanged; return App.UI.summaryOptions(); - }, - ["jump-to-safe", "jump-from-safe"] + }, ["jump-to-safe", "jump-from-safe"] ); new App.DomPassage("Hotkey Settings",