From b62422b2e11d75893ff2768091e0649c3a5615a6 Mon Sep 17 00:00:00 2001 From: gfgtdf Date: Fri, 23 Mar 2018 22:18:21 +0100 Subject: [PATCH] f --- src/synced_commands.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/synced_commands.cpp b/src/synced_commands.cpp index bdd74a0323bf..3bf99822c78d 100644 --- a/src/synced_commands.cpp +++ b/src/synced_commands.cpp @@ -397,12 +397,12 @@ namespace if(show_long_message && !ignore) { play_controller::scoped_savegame_snapshot snapshot(controller); - std::stringstream message; + std::stringstream sbuilder; // TODO: improve message and mark translatable. - message << "The game detected the use of a debug command, maybe another player is cheating"; - message << "\n\n" << "details:" << "\n\n" << message; + sbuilder << "The game detected the use of a debug command, maybe another player is cheating"; + sbuilder << "\n\n" << "details:" << "\n\n" << message; savegame::oos_savegame save(controller.gamestate(), ignore); - save.save_game_interactive(message.str(), savegame::savegame::YES_NO); // can throw quit_game_exception + save.save_game_interactive(sbuilder.str(), savegame::savegame::YES_NO); // can throw quit_game_exception } else { utils::string_map symbols;