From 1439498a67d3f0fa2d006e5157b00ab0835c1e2d Mon Sep 17 00:00:00 2001 From: GreenComfyTea Date: Fri, 1 Mar 2024 16:57:01 +0200 Subject: [PATCH] [Hunting Horn -> Bead of Resonance]: Fixed in online when not host --- reframework/autorun/MHR_Overlay/Buffs/weapon_skills.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/reframework/autorun/MHR_Overlay/Buffs/weapon_skills.lua b/reframework/autorun/MHR_Overlay/Buffs/weapon_skills.lua index 98de450..f750d67 100644 --- a/reframework/autorun/MHR_Overlay/Buffs/weapon_skills.lua +++ b/reframework/autorun/MHR_Overlay/Buffs/weapon_skills.lua @@ -699,7 +699,6 @@ function this.update_rising_moon() return; end - -- Possibly requires players.myself.id instead of 0? local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_speed_boost_list, 0); if light_bowgun_shell_030 == nil then error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: light_bowgun_shell_030"); @@ -769,7 +768,6 @@ function this.update_setting_sun() return; end - -- Possibly requires players.myself.id instead of 0? local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_all_list, 0); if light_bowgun_shell_030 == nil then error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: light_bowgun_shell_030"); @@ -929,12 +927,12 @@ function this.update_bead_of_resonance() return; end - if players.myself.id >= horn_shell_003s_array_length then + if horn_shell_003s_array_length == 0 then this.list.bead_of_resonance = nil; return; end - local horn_shell_003_list = get_value_method:call(horn_shell_003s_array, players.myself.id); + local horn_shell_003_list = get_value_method:call(horn_shell_003s_array, 0); if horn_shell_003_list == nil then error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003_list"); this.list.bead_of_resonance = nil;