Follow-up Comment #1, bug #15936 (project wesnoth):
>From http://forums.wesnoth.org/viewtopic.php?f=15&t=29731&p=424601#p424601 :
index 4438f07..9ba6d1e 100644
--- a/src/playcampaign.cpp.orig
+++ b/src/playcampaign.cpp
@@ -413,7 +413,8 @@ LEVEL_RESULT play_game(display& disp, game_state&
gamestate, const config& game_
// case defeat is also game end. Someday,
// if MP campaigns ever work again, we might
// need to change this test.
- if (res == VICTORY || (io_type != IO_NONE && res == DEFEAT))
{
+ if ((!game_config["turn"].empty()) &&
+ (res == VICTORY || (io_type != IO_NONE && res ==
DEFEAT))) {
if (preferences::delete_saves())
savegame::manager::clean_saves(gamestate.classification().label);
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15936>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs