[0.15.12] [Oxyd] on_player_rotated_entity documentation bug
Posted: Sun May 21, 2017 1:08 pm
See on_player_rotated_entity documentation
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"
I use the following codeCalled when the player rotates an entity (including some non-obvious rotations such as with the stone furnace, but not the solar-panel)
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)
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"