Merge pull request #22 from GibsonHF/master

Couple of fixes
This commit is contained in:
Yimura 2021-12-27 10:28:46 +01:00 committed by GitHub
commit ed73b6dc36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -33,6 +33,8 @@ namespace big
ImGui::Checkbox("No Ragdoll", &g.self.no_ragdoll);
ImGui::SameLine();
ImGui::Checkbox("Super Run", &g.self.super_run);
ImGui::TreePop();
}
if (ImGui::TreeNode("Frame Flags"))

View File

@ -14,7 +14,7 @@ namespace big
if (g_local_player == nullptr || g_local_player->m_vehicle == nullptr || g_local_player->m_ped_task_flag & (int)ePedTask::TASK_FOOT)
{
ImGui::Text("Please enter a vehicle.");
ImGui::End();
return;
}
g_vehicle_service->attempt_save();
@ -29,4 +29,4 @@ namespace big
ImGui::End();
}
}
}
}