Added a check for a custom end_level...

...before announcing a defeat on time over. (Fix for bug #14140.)
This commit is contained in:
Guillaume Melquiond 2009-08-16 22:29:46 +00:00
parent 40c3f69466
commit 548da83dfb

View File

@ -846,6 +846,7 @@ void playsingle_controller::check_time_over(){
game_events::fire("time over");
LOG_NG << "done firing time over event...\n";
check_end_level();
throw end_level_exception(DEFEAT);
}
}