Remove debug console to recalculate available checks, this can now be done by toggling Enable Available Checks in the settings.

This commit is contained in:
Anthony Stewart 2025-03-22 00:04:23 -05:00
commit 8598cc068c

View file

@ -1408,11 +1408,6 @@ static bool SfxHandler(std::shared_ptr<Ship::Console> Console, const std::vector
return 0;
}
static bool RecalculateAvailableChecksHandler(std::shared_ptr<Ship::Console> Console, const std::vector<std::string>& args, std::string* output) {
CheckTracker::RecalculateAvailableChecks();
return 0;
}
void DebugConsole_Init(void) {
// Console
CMD_REGISTER("file_select", {FileSelectHandler, "Returns to the file select."});
@ -1602,7 +1597,5 @@ void DebugConsole_Init(void) {
{"group_name", Ship::ArgumentType::TEXT, true},
}});
CMD_REGISTER("recalculate_available_checks", {RecalculateAvailableChecksHandler, "Recalculate available checks."});
Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesNextFrame();
}