change name based on PR comment
This commit is contained in:
@@ -55,7 +55,7 @@ bool oldCursorState = true;
|
|||||||
OSContPad* pads;
|
OSContPad* pads;
|
||||||
|
|
||||||
std::map<std::string, GameAsset*> DefaultAssets;
|
std::map<std::string, GameAsset*> DefaultAssets;
|
||||||
std::vector<std::string> noArgs;
|
std::vector<std::string> emptyArgs;
|
||||||
|
|
||||||
namespace SohImGui {
|
namespace SohImGui {
|
||||||
|
|
||||||
@@ -758,7 +758,7 @@ namespace SohImGui {
|
|||||||
if ((ImGui::IsKeyDown(ImGuiKey_LeftSuper) ||
|
if ((ImGui::IsKeyDown(ImGuiKey_LeftSuper) ||
|
||||||
ImGui::IsKeyDown(ImGuiKey_RightSuper)) &&
|
ImGui::IsKeyDown(ImGuiKey_RightSuper)) &&
|
||||||
ImGui::IsKeyPressed(ImGuiKey_R, false)) {
|
ImGui::IsKeyPressed(ImGuiKey_R, false)) {
|
||||||
console->Commands["reset"].handler(noArgs);
|
console->Commands["reset"].handler(emptyArgs);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) ||
|
if ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user