Page 1 of 1

[1.1.87] toggle-driving action is not triggered anymore

Posted: Tue Sep 05, 2023 3:58 pm
by S3bulon
My mod Railway Motor Car (Version 0.4.0) works like this:
1. Wait for the toggle-driving-key press
2. Create a locomotive at the rails (+checks + teleport character, ...)
3. Wait for the game to execute their version of the toggle-driving-event, thus entering the locomotive.

This worked with Factorio 1.1.80, but not with 1.1.87 anymore.
Step 3 is not executed anymore, and the player is not put into the locomotive.

I actually changed this to entity.set_driver in Version 0.4.1, but that broke my mod in another way: 108506

@Savegame: simply press <enter/leave vehicle> while standing on the rails.

Re: [1.1.87] toggle-driving action is not triggered anymore

Posted: Tue Sep 05, 2023 4:30 pm
by Rseding91
Thanks for the report however that is working as intended. Since there is no vehicle near the player the game does not send the toggle driving action.