mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Fix large monster enabled check
This commit is contained in:
@@ -211,7 +211,8 @@ local get_transform_method = sdk.find_type_definition("via.GameObject"):get_meth
|
||||
local get_position_method = sdk.find_type_definition("via.Transform"):get_method("get_Position")
|
||||
|
||||
function large_monster.update_position(enemy)
|
||||
if not config.current_config.large_monster_UI.enabled then
|
||||
if not config.current_config.large_monster_UI.dynamic.enabled or
|
||||
not config.current_config.large_monster_UI.static.enabled then
|
||||
return;
|
||||
end
|
||||
|
||||
@@ -249,7 +250,9 @@ function large_monster.update_position(enemy)
|
||||
end
|
||||
|
||||
function large_monster.update(enemy)
|
||||
if not config.current_config.large_monster_UI.enabled then
|
||||
-- maybe more checks are needed here i'm not fully aware of how the code flows here
|
||||
if not config.current_config.large_monster_UI.dynamic.enabled or
|
||||
not config.current_config.large_monster_UI.static.enabled then
|
||||
return;
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user