diff --git a/Themes/_fallback/Scripts/02 Utilities.lua b/Themes/_fallback/Scripts/02 Utilities.lua index 0a1fb2d014..4b9497c862 100644 --- a/Themes/_fallback/Scripts/02 Utilities.lua +++ b/Themes/_fallback/Scripts/02 Utilities.lua @@ -334,7 +334,6 @@ function WideScale(AR4_3, AR16_9) return scale( SCREEN_WIDTH, 640, 854, AR4_3, AR16_9 ) end - local function round(num, idp) if idp and idp > 0 then local mult = 10 ^ idp; diff --git a/Themes/_fallback/Scripts/03 Gameplay.lua b/Themes/_fallback/Scripts/03 Gameplay.lua index 8c6c34feac..7433a84107 100644 --- a/Themes/_fallback/Scripts/03 Gameplay.lua +++ b/Themes/_fallback/Scripts/03 Gameplay.lua @@ -8,12 +8,7 @@ local function CurGameName() end -- Check the active game mode against a string. Cut down typing this in metrics. -function IsGame(str) - if CurGameName() == str then - return true - end - return false -end +function IsGame(str) return CurGameName() == str end -- GetExtraColorThreshold() -- [en] returns the difficulty threshold in meter diff --git a/Themes/_fallback/Scripts/04 KeymapGuard.lua b/Themes/_fallback/Scripts/04 KeymapGuard.lua deleted file mode 100644 index bf8994e0ca..0000000000 --- a/Themes/_fallback/Scripts/04 KeymapGuard.lua +++ /dev/null @@ -1 +0,0 @@ ---does not work \ No newline at end of file