Skip to content

Commit

Permalink
Don't let :show_var create variables
Browse files Browse the repository at this point in the history
  • Loading branch information
AI0867 committed Jun 4, 2014
1 parent c7d22b0 commit c73f236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/menu_events.cpp
Expand Up @@ -3096,7 +3096,7 @@ void console_handler::do_set_var() {
}
}
void console_handler::do_show_var() {
gui2::show_transient_message((*menu_handler_.gui_).video(),"",resources::gamedata->get_variable(get_data()));
gui2::show_transient_message((*menu_handler_.gui_).video(),"",resources::gamedata->get_variable_const(get_data()));
}


Expand Down

0 comments on commit c73f236

Please sign in to comment.