Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Mar 23, 2018
1 parent ef9580f commit b62422b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/synced_commands.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit b62422b

Please sign in to comment.