aboutsummaryrefslogtreecommitdiffstats
path: root/Lua
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-08-30 20:00:25 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-08-30 20:00:25 +0000
commit110810894e6dfc00554819064a7d88fbfbfb9d01 (patch)
tree605ecbc819e2bbc01360c6d0ffd421d94e6c94c4 /Lua
parent0ec0c2179e42a5c4e912cacabe2d81d9da2ba8ef (diff)
downloadusdx-110810894e6dfc00554819064a7d88fbfbfb9d01.tar.gz
usdx-110810894e6dfc00554819064a7d88fbfbfb9d01.tar.xz
usdx-110810894e6dfc00554819064a7d88fbfbfb9d01.zip
fixed missing bracked
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1935 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua')
-rw-r--r--Lua/src/lua/ULuaScreenSing.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lua/src/lua/ULuaScreenSing.pas b/Lua/src/lua/ULuaScreenSing.pas
index 418d4abd..5382d1ca 100644
--- a/Lua/src/lua/ULuaScreenSing.pas
+++ b/Lua/src/lua/ULuaScreenSing.pas
@@ -218,7 +218,7 @@ begin
if (CurrentSong = nil) or (Length(CurrentSong.BPM) = 0) or (Display.CurrentScreen <> @ScreenSing) then
lua_PushNumber(L, 0)
else if (Length(CurrentSong.BPM) = 1) then
- lua_PushNumber(L, luaL_CheckNumber(L, 1) * CurrentSong.BPM[0].BPM / 60
+ lua_PushNumber(L, luaL_CheckNumber(L, 1) * CurrentSong.BPM[0].BPM / 60)
else
begin
// to-do: do this for songs w/ BPM changes