[0.15.12] [Oxyd] on_player_rotated_entity documentation bug

This subforum contains all the issues which we already resolved.
Post Reply
pieppiep
Fast Inserter
Fast Inserter
Posts: 170
Joined: Mon Mar 14, 2016 8:52 am
Contact:

[0.15.12] [Oxyd] on_player_rotated_entity documentation bug

Post by pieppiep »

See on_player_rotated_entity documentation
Called when the player rotates an entity (including some non-obvious rotations such as with the stone furnace, but not the solar-panel)
I use the following code

Code: Select all

script.on_event(defines.events.on_player_rotated_entity, function(event)
	game.players[event.player_index].print("on_player_rotated_entity")
end)
Now when I rotate a stone furnace or a solar-panel or even a assembling machine I don't get the event. (like I expected)
When I select for example processing unit recipe I do get the event so my code is working.

Suggested solution, just update the documentation and change the text in "Called when the player rotates a rotatable entity"

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.15.12] [Oxyd] on_player_rotated_entity documentation bug

Post by Oxyd »

Thanks, fixed in 0.15.14.

Post Reply

Return to “Resolved Problems and Bugs”