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