more script cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
--does not work
|
||||
Reference in New Issue
Block a user