mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-06 20:01:23 -04:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user