mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-25 21:08:07 -08:00
Compare commits
2 Commits
12149d19f5
...
add4cca6f1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
add4cca6f1 | ||
|
|
5b0ed78e27 |
@@ -280,7 +280,7 @@ if d2d ~= nil then
|
|||||||
end
|
end
|
||||||
|
|
||||||
re.on_frame(function()
|
re.on_frame(function()
|
||||||
if not config.current_config.global_settings.renderer.use_d2d_if_available then
|
if d2d == nil or not config.current_config.global_settings.renderer.use_d2d_if_available then
|
||||||
main_loop();
|
main_loop();
|
||||||
end
|
end
|
||||||
end);
|
end);
|
||||||
@@ -303,7 +303,7 @@ if debug.enabled then
|
|||||||
end
|
end
|
||||||
|
|
||||||
re.on_frame(function()
|
re.on_frame(function()
|
||||||
if config.current_config.global_settings.renderer.use_d2d_if_available and d2d ~= nil then
|
if d2d ~= nil and config.current_config.global_settings.renderer.use_d2d_if_available then
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ function damage_hook.update_damage(enemy, enemy_calc_damage_info)
|
|||||||
attacking_player = player.get_player(attacker_id);
|
attacking_player = player.get_player(attacker_id);
|
||||||
end
|
end
|
||||||
|
|
||||||
xy = xy .. "\nPlayer: " .. tostring(attacker_id) ..
|
--[[xy = xy .. "\nPlayer: " .. tostring(attacker_id) ..
|
||||||
" " .. tostring(attacking_player.name) ..
|
" " .. tostring(attacking_player.name) ..
|
||||||
" Damage: " .. tostring(damage_object.total_damage) ..
|
" Damage: " .. tostring(damage_object.total_damage) ..
|
||||||
" Type: (" .. tostring(attacker_type) ..
|
" Type: (" .. tostring(attacker_type) ..
|
||||||
@@ -170,7 +170,7 @@ function damage_hook.update_damage(enemy, enemy_calc_damage_info)
|
|||||||
|
|
||||||
if string.len(xy) > 2300 then
|
if string.len(xy) > 2300 then
|
||||||
xy = "";
|
xy = "";
|
||||||
end
|
end--]]
|
||||||
|
|
||||||
local monster;
|
local monster;
|
||||||
if is_large_monster then
|
if is_large_monster then
|
||||||
|
|||||||
@@ -4594,7 +4594,7 @@ function config.init_module()
|
|||||||
|
|
||||||
config.init();
|
config.init();
|
||||||
config.load();
|
config.load();
|
||||||
config.current_config.version = "2.3.1";
|
config.current_config.version = "2.3.2";
|
||||||
|
|
||||||
language.update(
|
language.update(
|
||||||
table_helpers.find_index(language.language_names, config.current_config.global_settings.language, false));
|
table_helpers.find_index(language.language_names, config.current_config.global_settings.language, false));
|
||||||
|
|||||||
Reference in New Issue
Block a user