[Therenas][1.1.32] on_cutscene_cancelled() not called when cutscene finishes on its own
Posted: Mon Apr 19, 2021 4:24 am
The lua-api says that the on_cutscene_cancelled event is "Called when a cutscene finishes on its own or is cancelled by the player or by script" but it does not appear to be called when a cutscene finished on its own.
steps to reproduce:
Here's my log:
steps to reproduce:
Code: Select all
1. listen to the event
script.on_event(defines.events.on_cutscene_cancelled, function(event)
game.print("on_cutscene_cancelled")
end)
2. Create a cutscene and terminate it early with /c game.player.exit_cutscene()
3. The event is called and text is printed to console
4. Create a cutscene and let it play out without cancelling it.
5. The event does not fire and nothing is printed.