2 Commits

Author SHA1 Message Date
GreenComfyTea
add4cca6f1 Bump version to v2.3.2 2022-11-30 10:54:13 +02:00
GreenComfyTea
5b0ed78e27 Fix use_d2d when overlay to not work without d2d 2022-11-30 10:17:57 +02:00
3 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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));