mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 17:34:01 +00:00
Added a check for a custom end_level...
...before announcing a defeat on time over. (Fix for bug #14140.)
This commit is contained in:
parent
40c3f69466
commit
548da83dfb
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user