fix: Passive not working correctly (#2040)
This commit is contained in:
@ -41,7 +41,12 @@ namespace big
|
||||
if (g.self.invisibility)
|
||||
components::command_checkbox<"localvis">(); // TODO: does nothing in SP
|
||||
|
||||
components::command_checkbox<"passive">();
|
||||
ImGui::BeginDisabled(scr_globals::gpbd_fm_3.as<GPBD_FM_3*>()->Entries[self::id].BossGoon.Boss != -1
|
||||
|| gta_util::find_script_thread(RAGE_JOAAT("fm_mission_controller"))
|
||||
|| gta_util::find_script_thread(RAGE_JOAAT("fm_mission_controller_2020")));
|
||||
|
||||
components::command_checkbox<"passive">();
|
||||
ImGui::EndDisabled();
|
||||
|
||||
ImGui::EndGroup();
|
||||
ImGui::SameLine();
|
||||
|
Reference in New Issue
Block a user