mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 06:47:22 +08:00
fix off by one error (#3296)
This commit is contained in:
parent
76f3006ed4
commit
143d869faa
@ -153,7 +153,7 @@ namespace big
|
||||
|
||||
if (ImGui::BeginCombo("BLOCK_JOIN_ALERT"_T.data(), block_join_reasons[current_player->block_join_reason]))
|
||||
{
|
||||
block_join_reason_t i = block_join_reason_t::None;
|
||||
block_join_reason_t i = block_join_reason_t::UNK_0;
|
||||
for (const auto& reason_str : block_join_reasons)
|
||||
{
|
||||
if (reason_str != "")
|
||||
|
@ -28,7 +28,7 @@ namespace big
|
||||
if (reaction.block_joins)
|
||||
if (ImGui::BeginCombo("BLOCK_JOIN_ALERT"_T.data(), block_join_reasons[reaction.block_join_reason]))
|
||||
{
|
||||
block_join_reason_t i = block_join_reason_t::None;
|
||||
block_join_reason_t i = block_join_reason_t::UNK_0;
|
||||
for (const auto& reason_str : block_join_reasons)
|
||||
{
|
||||
if (reason_str != "")
|
||||
@ -73,7 +73,7 @@ namespace big
|
||||
if (reaction.block_joins)
|
||||
if (ImGui::BeginCombo("BLOCK_JOIN_ALERT"_T.data(), block_join_reasons[reaction.block_join_reason]))
|
||||
{
|
||||
block_join_reason_t i = block_join_reason_t::None;
|
||||
block_join_reason_t i = block_join_reason_t::UNK_0;
|
||||
for (const auto& reason_str : block_join_reasons)
|
||||
{
|
||||
if (reason_str != "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user