Page 1 of 1

[0.15.12] [Oxyd] on_player_rotated_entity documentation bug

Posted: Sun May 21, 2017 1:08 pm
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"

Re: [0.15.12] [Oxyd] on_player_rotated_entity documentation bug

Posted: Wed May 24, 2017 3:57 pm
by Oxyd
Thanks, fixed in 0.15.14.