* Reset status of all engines. * @return Will always succeed. */
| 244 | * @return Will always succeed. |
| 245 | */ |
| 246 | static bool ConResetEngines(std::span<std::string_view> argv) |
| 247 | { |
| 248 | if (argv.empty()) { |
| 249 | IConsolePrint(CC_HELP, "Reset status data of all engines. This might solve some issues with 'lost' engines. Usage: 'resetengines'."); |
| 250 | return true; |
| 251 | } |
| 252 | |
| 253 | StartupEngines(); |
| 254 | return true; |
| 255 | } |
| 256 | |
| 257 | /** |
| 258 | * Reset status of the engine pool. |
nothing calls this directly
no test coverage detected