From a450f77e03311305094aad10f977dadec8af8a08 Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:27:23 +0200 Subject: [PATCH] remove suffix for float --- dll/dll/settings.h | 2 +- post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dll/dll/settings.h b/dll/dll/settings.h index 7a0375af2..32319e591 100644 --- a/dll/dll/settings.h +++ b/dll/dll/settings.h @@ -260,7 +260,7 @@ class Settings { bool save_only_higher_stat_achievement_progress = true; // Minimum value to indicate progress being made for the user. int stat_int_min_diff_progress = 1; - float stat_float_min_diff_progress = 1f; + float stat_float_min_diff_progress = 1; // the emulator loads the achievements icons is memory mainly for `ISteamUserStats::GetAchievementIcon()` // this defines how many icons to load each iteration when the periodic callback in `Steam_User_Stats` is triggered // or when the app calls `SteamAPI_RunCallbacks()` diff --git a/post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini b/post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini index d29187e83..abdc4f979 100644 --- a/post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini +++ b/post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini @@ -74,8 +74,8 @@ paginated_achievements_icons=10 # Usually good for achievement that use stat values and contains high number (ie: kill 200 cops) # default=1 stat_int_min_diff_progress=1 -# default=1f -stat_float_min_diff_progress=1f +# default=1 +stat_float_min_diff_progress=1 [main::connectivity] # 1=prevent hooking OS networking APIs and allow any external requests