CVar::hasDefaultValue doesn't do what I thought it did, and I wrote the darn thing

This commit is contained in:
Phillip Stephens 2021-05-30 18:10:22 -07:00
parent 9995199fbf
commit 6fb78f1add
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ void ImGuiConsole::ShowConsoleVariablesWindow() {
ImGui::Text("lawl wut? Please contact a developer, your copy of Metaforce is cursed!");
break;
}
if (ImGui::IsItemHovered() && cv->hasDefaultValue()) {
if (ImGui::IsItemHovered()) {
std::string sv(cv->defaultValue());
ImGui::SetTooltip("Default: %s", sv.c_str());
}