mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:29:00 +00:00
This patch fixes the issue that the CinemaOverlay was hiding one turn after the cinema paths stopped playing. That was happening because `CinemaOverlay.OnSimulationUpdate` was called before `OnSimulationUpdate` in session.js, so it read last turn's sim state. Making it a simulation update handler ensures the sim state is up-to-date once it's called.