mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07: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:
parent
7020f3a5a1
commit
8598cc068c
1 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue