mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 21:08:41 +00:00
fixup
This commit is contained in:
parent
cb0eda0c2e
commit
bb74aad2f8
@ -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()
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user