This commit is contained in:
gfgtdf 2015-06-07 20:12:42 +02:00
parent cb0eda0c2e
commit bb74aad2f8
2 changed files with 2 additions and 2 deletions

View File

@ -3007,7 +3007,7 @@ void console_handler::do_turn()
if (!data.empty()) {
turn = lexical_cast_default<int>(data, 1);
}
synced_context::run_and_throw("debug_turn_limit", config_of("turn", turn));
synced_context::run_and_throw("debug_turn", config_of("turn", turn));
}
void console_handler::do_turn_limit()

View File

@ -538,7 +538,7 @@ SYNCED_COMMAND_HANDLER_FUNCTION(debug_turn_limit, child, use_undo, /*show*/, /*e
return true;
}
SYNCED_COMMAND_HANDLER_FUNCTION(debug_turn_limit, child, use_undo, /*show*/, /*error_handler*/)
SYNCED_COMMAND_HANDLER_FUNCTION(debug_turn, child, use_undo, /*show*/, /*error_handler*/)
{
if(use_undo) {
resources::undo_stack->clear();