@@ -93,7 +93,7 @@ command_result df_tiletypes_here_point (color_ostream &out, vector <string> & pa
93
93
DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands)
94
94
{
95
95
tiletypes_hist.load (HISTORY_FILE);
96
- commands.push_back (PluginCommand (" tiletypes" , " Paints tiles of specified types onto the map." , df_tiletypes, true ));
96
+ commands.push_back (PluginCommand (" tiletypes" , " Paints tiles of specified types onto the map." , df_tiletypes, true , true ));
97
97
commands.push_back (PluginCommand (" tiletypes-command" , " Run tiletypes commands (seperated by ' ; ')" , df_tiletypes_command));
98
98
commands.push_back (PluginCommand (" tiletypes-here" , " Repeat tiletypes command at cursor (with brush)" , df_tiletypes_here));
99
99
commands.push_back (PluginCommand (" tiletypes-here-point" , " Repeat tiletypes command at cursor (with single tile brush)" , df_tiletypes_here_point));
@@ -1316,11 +1316,12 @@ command_result df_tiletypes (color_ostream &out_, vector <string> & parameters)
1316
1316
commands.clear ();
1317
1317
Core::cheap_tokenise (input, commands);
1318
1318
1319
- command_result ret = processCommand (out, commands, 0 , commands.size (), end, true );
1320
-
1321
- if (ret != CR_OK)
1322
1319
{
1323
- return ret;
1320
+ CoreSuspender suspend;
1321
+ command_result ret = processCommand (out, commands, 0 , commands.size (), end, true );
1322
+
1323
+ if (ret != CR_OK)
1324
+ return ret;
1324
1325
}
1325
1326
}
1326
1327
return CR_OK;
0 commit comments