Rewrite edit_db_from_gui

This commit is contained in:
Boria138
2024-01-22 12:40:28 +06:00
parent 4a995f69ae
commit 0d0973794b
2 changed files with 14 additions and 9 deletions

View File

@ -598,7 +598,10 @@ gui_MangoHud () {
done
FPS_LIMIT="${FPS_LIMIT}"
export PW_FPS_LIMIT="0\,${FPS_LIMIT%\\,}"
if [ "$(echo "${FPS_LIMIT}" | awk -F',' '{print $2}')" ]
then export PW_FPS_LIMIT="0\,${FPS_LIMIT%\\,}"
else export PW_FPS_LIMIT="${FPS_LIMIT%\\,}"
fi
if [[ -n "$MH_FONT_SIZE" ]]
then GUI_MH_RESULT="${GUI_MH_RESULT}${MH_FONT_SIZE}"