Skip to content

Commit ff939e3

Browse files
committed
Missed parameter in plugin command init
1 parent b97a13f commit ff939e3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

plugins/plants.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,21 +310,21 @@ command_result df_createplant (color_ostream &out, vector <string> & parameters)
310310

311311
DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands)
312312
{
313-
commands.push_back(PluginCommand("grow", "Grows saplings into trees (with active cursor, only the targetted one).", df_grow,
313+
commands.push_back(PluginCommand("grow", "Grows saplings into trees (with active cursor, only the targetted one).", df_grow, false,
314314
"This command turns all living saplings on the map into full-grown trees.\n"));
315-
commands.push_back(PluginCommand("immolate", "Set plants on fire (under cursor, 'shrubs', 'trees' or 'all').", df_immolate,
315+
commands.push_back(PluginCommand("immolate", "Set plants on fire (under cursor, 'shrubs', 'trees' or 'all').", df_immolate, false,
316316
"Without any options, this command burns a plant under the cursor.\n"
317317
"Options:\n"
318318
"shrubs - affect all shrubs\n"
319319
"trees - affect all trees\n"
320320
"all - affect all plants\n"));
321-
commands.push_back(PluginCommand("extirpate", "Kill plants (same mechanics as immolate).", df_extirpate,
321+
commands.push_back(PluginCommand("extirpate", "Kill plants (same mechanics as immolate).", df_extirpate, false,
322322
"Without any options, this command destroys a plant under the cursor.\n"
323323
"Options:\n"
324324
"shrubs - affect all shrubs\n"
325325
"trees - affect all trees\n"
326326
"all - affect all plants\n"));
327-
commands.push_back(PluginCommand("createplant", "Create a new plant at the cursor.", df_createplant,
327+
commands.push_back(PluginCommand("createplant", "Create a new plant at the cursor.", df_createplant, false,
328328
"Specify the type of plant to create by its raw ID (e.g. TOWER_CAP or MUSHROOM_HELMET_PLUMP).\n"
329329
"Only shrubs and saplings can be placed, and they must be located on a dirt or grass floor.\n"));
330330
return CR_OK;

0 commit comments

Comments
 (0)