Fix lua order of operations.

Thanks to vyhd for the hg bisect tip.
This commit is contained in:
Jason Felds
2011-09-29 00:12:54 -04:00
parent c11a454e18
commit d51606f639
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -8,6 +8,10 @@ ________________________________________________________________________________
StepMania 5.0 $next | 2011????
--------------------------------------------------------------------------------
2011/09/29
----------
* [Fallback theme] Fix ImmediateHoldLetGo function. [Wolfman2000]
2011/09/26
----------
* [Default theme] Added Song Timing Display user preference. [AJ]
+2 -2
View File
@@ -190,7 +190,7 @@ function MaxHoldLife()
end
function ImmediateHoldLetGo()
return not GAMESTATE:GetCurrentGame():GetName() == "pump"
return not (GAMESTATE:GetCurrentGame():GetName() == "pump")
end
function RollBodyIncrementsCombo()
@@ -402,4 +402,4 @@ function GetCodeForGame(codeName)
local gameName = string.lower(GAMESTATE:GetCurrentGame():GetName())
local inputCode = CodeDetectorCodes[codeName]
return inputCode[gameName] or inputCode["default"]
end
end