Skip to content

Commit

Permalink
Fixed Fusion menu simulations not running under Alternative Energy
Browse files Browse the repository at this point in the history
  • Loading branch information
Septiple committed Feb 3, 2024
1 parent 7f27a86 commit a82ce58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 2.1.20
Date: ?
Changes:
- Fixed Fusion menu simulations not running under Alternative Energy
---------------------------------------------------------------------------------------------------
Version: 2.1.19
Date: 2024-1-31
Changes:
Expand Down
3 changes: 2 additions & 1 deletion prototypes/menu-simulations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,11 @@ menu_simulations.fe_diamonds =
[[
]]
}
local has_alternative_energy = mods["pyalternativeenergy"]
menu_simulations.fe_reactors =
{
checkboard = false,
save = "__pyfusionenergygraphics__/menu-simulations/menu-simulation-fe-reactors.zip",
save = has_alternative_energy and "__pyalternativeenergygraphics__/menu-simulations/menu-simulation-fe-reactors2.zip" or "__pyfusionenergygraphics__/menu-simulations/menu-simulation-fe-reactors.zip",
length = 60 * 20,
init =
[[
Expand Down

0 comments on commit a82ce58

Please sign in to comment.