mirror of https://github.com/AxioDL/metaforce.git
CVar::hasDefaultValue doesn't do what I thought it did, and I wrote the darn thing
This commit is contained in:
parent
9995199fbf
commit
6fb78f1add
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue