diff --git a/changelog.txt b/changelog.txt index 31056655..2d65c91f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -21,6 +21,7 @@ Date: ??? - Fixed beacons not being useable with YAFC and other planner mods. Resolves https://github.com/pyanodon/pybugreports/issues/1449 - Fixed codex search bar saving the search term when switching pages and closing the UI. Resolves https://github.com/pyanodon/pybugreports/issues/1409 - Fixed firearm magazine not being handcraftable. Resolves https://github.com/pyanodon/pybugreports/issues/1432 + - Fixed that the pYAE early game menu simulation had the car crashing into the pipe twice. Resolves https://github.com/pyanodon/pybugreports/issues/1340 --------------------------------------------------------------------------------------------------- Version: 3.0.44 Date: 2025-12-28 diff --git a/prototypes/menu-simulations.lua b/prototypes/menu-simulations.lua index e5ced8eb..7c6bd1a0 100644 --- a/prototypes/menu-simulations.lua +++ b/prototypes/menu-simulations.lua @@ -574,15 +574,15 @@ if mods["pyalternativeenergy"] then if tickCount == 60 * 8 then character.riding_state = { acceleration = defines.riding.acceleration.reversing, direction = defines.riding.direction.straight } end - if tickCount == 60 * 8.5 then + if tickCount == 60 * 8.7 then character.riding_state = { acceleration = defines.riding.acceleration.braking, direction = defines.riding.direction.straight } end if tickCount == 60 * 9 then - character.riding_state = { acceleration = defines.riding.acceleration.accelerating, direction = defines.riding.direction.left } - end - if tickCount == 60 * 9.25 then character.riding_state = { acceleration = defines.riding.acceleration.accelerating, direction = defines.riding.direction.right } end + if tickCount == 60 * 9.2 then + character.riding_state = { acceleration = defines.riding.acceleration.nothing, direction = defines.riding.direction.left } + end if tickCount == 60 * 9.4 then character.riding_state = { acceleration = defines.riding.acceleration.accelerating, direction = defines.riding.direction.straight } end