mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-16 23:30:15 -05:00
change name based on PR comment
This commit is contained in:
parent
923bf3b0e4
commit
b8602994fb
@ -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) ||
|
||||||
|
Loading…
Reference in New Issue
Block a user