summaryrefslogtreecommitdiff
path: root/plugins/mode.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2011-08-06 04:37:29 +0200
committerPetr Mrázek2011-08-06 04:37:29 +0200
commitcb93b5542ec20a8660800f98f1b090af3623e100 (patch)
tree58f268002b223493b5682f037deca7b11d878989 /plugins/mode.cpp
parent24bdc538e961e3d353e3e865f4f1bd7f04738483 (diff)
downloaddfhack-cb93b5542ec20a8660800f98f1b090af3623e100.tar.gz
dfhack-cb93b5542ec20a8660800f98f1b090af3623e100.tar.bz2
dfhack-cb93b5542ec20a8660800f98f1b090af3623e100.tar.xz
Fix problem with running interactive commands from hotkeys.
Diffstat (limited to 'plugins/mode.cpp')
-rw-r--r--plugins/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mode.cpp b/plugins/mode.cpp
index 0a442be8..1ae336b9 100644
--- a/plugins/mode.cpp
+++ b/plugins/mode.cpp
@@ -22,7 +22,7 @@ DFhackCExport const char * plugin_name ( void )
DFhackCExport command_result plugin_init ( Core * c, std::vector <PluginCommand> &commands)
{
commands.clear();
- commands.push_back(PluginCommand("mode","View, change and track game mode.",mode));
+ commands.push_back(PluginCommand("mode","View, change and track game mode.", mode, true));
return CR_OK;
}