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