fix "time over" event in replays 

backports https://github.com/wesnoth/wesnoth/commit/52fb0597273f5cfd1783436a623e1eb6038b756f